changing minimal flow

This commit is contained in:
vuko 2016-12-27 22:34:22 +01:00
parent 738dbffd78
commit a19539771a

View file

@ -112,7 +112,7 @@ void tim2_isr(void)
uint8_t alarm; // should buzzer be on? uint8_t alarm; // should buzzer be on?
const uint32_t minimal_value = 5; // minimal number of impulses per second const uint32_t minimal_value = 2; // minimal number of impulses per second
const uint16_t cycles_per_second = 1000; const uint16_t cycles_per_second = 1000;
uint8_t good = (impulses[0] >= minimal_value) && uint8_t good = (impulses[0] >= minimal_value) &&