MCPcopy Create free account
hub / github.com/cifertech/nRFBox / checkModeChange

Function checkModeChange

nRFBox_V2/blejammer.cpp:130–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128}
129
130void checkModeChange() {
131 if (modeChangeRequested) {
132 modeChangeRequested = false;
133 currentMode = static_cast<OperationMode>((currentMode + 1) % 3);
134 initializeRadios();
135 updateOLED();
136 }
137}
138
139void blejammerSetup() {
140 Serial.begin(115200);

Callers 1

blejammerLoopFunction · 0.70

Calls 2

initializeRadiosFunction · 0.70
updateOLEDFunction · 0.70

Tested by

no test coverage detected