Fix compile errors

This commit is contained in:
Carsten Schmiemann 2022-05-08 22:10:17 +02:00
parent ac6471ad99
commit d0b1911f3b
2 changed files with 6 additions and 6 deletions

View file

@ -1216,11 +1216,11 @@ void DukOvmsCommandRegisterRun(int verbosity, OvmsWriter* writer, OvmsCommand* c
ESP_LOGE(TAG, "Command '%s' cannot be found in registry",cmd->GetName());
return;
}
else
{
DuktapeConsoleCommand* dcc = it->second;
// Perform the callback
}
//else
// {
// DuktapeConsoleCommand* dcc = it->second;
// // Perform the callback
// }
}
bool OvmsDuktape::RegisterDuktapeConsoleCommand(

View file

@ -46,7 +46,7 @@ using namespace std;
void OvmsVehicleRenaultZoePh2::WebCfgCommon(PageEntry_t& p, PageContext_t& c)
{
std::string error, rangeideal, battcapacity;
bool UseCarTrip, UseBMScalculation, UseBMSsoc;
bool UseBMScalculation, UseBMSsoc;
if (c.method == "POST") {
rangeideal = c.getvar("rangeideal");