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