| 141 | } |
| 142 | |
| 143 | void blejammerSetup() { |
| 144 | Serial.begin(115200); |
| 145 | |
| 146 | esp_bt_controller_deinit(); |
| 147 | esp_wifi_stop(); |
| 148 | esp_wifi_deinit(); |
| 149 | esp_wifi_disconnect(); |
| 150 | |
| 151 | u8g2.begin(); |
| 152 | |
| 153 | pinMode(MODE_BUTTON, INPUT_PULLUP); |
| 154 | attachInterrupt(digitalPinToInterrupt(MODE_BUTTON), handleButtonPress, FALLING); |
| 155 | |
| 156 | initializeRadios(); |
| 157 | updateOLED(); |
| 158 | } |
| 159 | |
| 160 | void blejammerLoop() { |
| 161 | checkModeChange(); |
nothing calls this directly
no test coverage detected