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