| 137 | } |
| 138 | |
| 139 | void pressBt02() { |
| 140 | static unsigned long last_interrupt_time = 0; |
| 141 | unsigned long interrupt_time = millis(); |
| 142 | if (interrupt_time - last_interrupt_time > 200) { |
| 143 | jamming = !jamming; |
| 144 | //Serial.println(jamming ? "Jamming started" : "Jamming stopped"); |
| 145 | } |
| 146 | last_interrupt_time = interrupt_time; |
| 147 | } |
| 148 | |
| 149 | void pressBt03() { |
| 150 | static unsigned long last_interrupt_time = 0; |
nothing calls this directly
no outgoing calls
no test coverage detected