| 123 | } |
| 124 | |
| 125 | void pressBt02() { |
| 126 | static unsigned long last_interrupt_time = 0; |
| 127 | unsigned long interrupt_time = millis(); |
| 128 | if (interrupt_time - last_interrupt_time > 200) { |
| 129 | jamming = !jamming; |
| 130 | Serial.println(jamming ? "Jamming started" : "Jamming stopped"); |
| 131 | } |
| 132 | last_interrupt_time = interrupt_time; |
| 133 | } |
| 134 | |
| 135 | void pressBt03() { |
| 136 | static unsigned long last_interrupt_time = 0; |
nothing calls this directly
no outgoing calls
no test coverage detected