| 147 | } |
| 148 | |
| 149 | void pressBt03() { |
| 150 | static unsigned long last_interrupt_time = 0; |
| 151 | unsigned long interrupt_time = millis(); |
| 152 | if (interrupt_time - last_interrupt_time > 200) { |
| 153 | dataRateIndex = (dataRateIndex + 1) % 3; // Cycle through data rates |
| 154 | setRadioParameters(); |
| 155 | //Serial.println("Data rate changed"); |
| 156 | } |
| 157 | last_interrupt_time = interrupt_time; |
| 158 | } |
| 159 | |
| 160 | void pressBt04() { |
| 161 | static unsigned long last_interrupt_time = 0; |
nothing calls this directly
no test coverage detected