MCPcopy Create free account
hub / github.com/attermann/microReticulum / main

Function main

examples/lora_announce/src/main.cpp:313–338  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

311}
312
313int main(void) {
314 printf("Hello from Native on PlatformIO!\n");
315
316 setup();
317
318 bool run = true;
319 while (run) {
320 loop();
321 int ch = getch();
322 if (ch > 0) {
323 switch (ch) {
324 case 'a':
325 reticulum_announce();
326 break;
327 case 'q':
328 run = false;
329 break;
330 }
331 }
332 RNS::Utilities::OS::sleep(0.01);
333 }
334
335 reticulum_teardown();
336
337 printf("Goodbye from Native on PlatformIO!\n");
338}
339#endif

Callers

nothing calls this directly

Calls 5

setupFunction · 0.70
loopFunction · 0.70
getchFunction · 0.70
reticulum_announceFunction · 0.70
reticulum_teardownFunction · 0.70

Tested by

no test coverage detected