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

Function initialize_Radios

nRFBox_V2/blackout.cpp:114–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112}
113
114void initialize_Radios() {
115 if (current == ACTIVE_MODE) {
116 initialize_MultiMode();
117 } else if (current == DEACTIVE_MODE) {
118 radio_1.powerDown();
119 radio_2.powerDown();
120 radio_3.powerDown();
121 delay(100);
122 }
123}
124
125void update_OLED() {
126 u8g2.clearBuffer();

Callers 2

blackoutSetupFunction · 0.85
blackoutLoopFunction · 0.85

Calls 1

initialize_MultiModeFunction · 0.85

Tested by

no test coverage detected