changing minimal flow
This commit is contained in:
parent
738dbffd78
commit
a19539771a
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ void tim2_isr(void)
|
|||
|
||||
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;
|
||||
|
||||
uint8_t good = (impulses[0] >= minimal_value) &&
|
||||
|
|
Loading…
Reference in a new issue