You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
464 B

#include <esp_log.h>
6 years ago
#include <string.h>
#include <u8g2.h>
6 years ago
#include "ugv_comms.hh"
#include "ugv_display.hh"
#include "ugv_io.hh"
namespace ugv {
using ugv::comms::Comms;
using ugv::io::IO;
6 years ago
DisplayClass *display;
6 years ago
static const char *TAG = "ugv_main";
void setup(void) {
ESP_LOGI(TAG, "setup");
Comms.Init();
IO.Init();
display = new DisplayClass(&Comms, &IO);
display->Init();
6 years ago
}
} // namespace ugv
extern "C" void app_main() {
ugv::setup();
}