Web: remove extern variable

This commit is contained in:
Carsten Schmiemann 2022-04-20 01:18:26 +02:00
parent 987427243c
commit d4bfaff4d2
1 changed files with 0 additions and 2 deletions

View File

@ -45,7 +45,6 @@ using namespace std;
void OvmsVehicleRenaultZoePh2::WebCfgCommon(PageEntry_t& p, PageContext_t& c)
{
extern OvmsMetricFloat *mt_pos_car_trip;
std::string error, rangeideal, battcapacity;
bool UseCarTrip;
@ -103,7 +102,6 @@ void OvmsVehicleRenaultZoePh2::WebCfgCommon(PageEntry_t& p, PageContext_t& c)
c.input_radio_start("Which tripcounter to use", "UseCarTrip");
c.input_radio_option("UseCarTrip", "Internal (New trip everytime car starts)", "internal", UseCarTrip == false);
c.input_radio_option("UseCarTrip", "Car trip counter from Cluster", "Car trip", UseCarTrip == true);
c.printf("Trip counter (Cluster,TDB): %f", mt_pos_car_trip->AsFloat());
c.input_radio_end("");
c.fieldset_end();