| 311 | } |
| 312 | |
| 313 | int 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 |
nothing calls this directly
no test coverage detected