Fix compile errors
This commit is contained in:
parent
ac6471ad99
commit
d0b1911f3b
|
@ -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(
|
||||
|
|
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue