Web: remove extern variable
This commit is contained in:
parent
987427243c
commit
d4bfaff4d2
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue