add first cut of mesh naive flooding

This commit is contained in:
geeksville
2020-04-17 11:52:20 -07:00
parent 6afeb3e456
commit ea24394110
8 changed files with 117 additions and 18 deletions
+4
View File
@@ -31,6 +31,7 @@
#include "error.h"
#include "power.h"
// #include "rom/rtc.h"
#include "FloodingRouter.h"
#include "screen.h"
#include "sleep.h"
#include <Wire.h>
@@ -60,6 +61,9 @@ static meshtastic::PowerStatus powerStatus;
bool ssd1306_found;
bool axp192_found;
FloodingRouter realRouter;
Router &router = realRouter; // Users of router don't care what sort of subclass implements that API
// -----------------------------------------------------------------------------
// Application
// -----------------------------------------------------------------------------