1
0
mirror of https://github.com/thooge/esp32-nmea2000-obp60.git synced 2025-12-24 11:13:06 +01:00

NMEA2000 access for system page

This commit is contained in:
2025-08-06 15:21:29 +02:00
parent f823dadc6b
commit cf305e9f5a
6 changed files with 17 additions and 1 deletions

View File

@@ -216,6 +216,10 @@ public:
{
return api->getLogger();
}
virtual Nmea2kTwai *getNMEA2000()
{
return api->getNMEA2000();
}
virtual GwBoatData *getBoatData()
{
return api->getBoatData();
@@ -428,4 +432,4 @@ void GwUserCode::handleWebRequest(const String &url,AsyncWebServerRequest *req){
}
LOG_DEBUG(GwLog::DEBUG,"no task found for web request %s[%s]",url.c_str(),tname.c_str());
req->send(404, "text/plain", "not found");
}
}