diff --git a/OVMS.V3/components/vehicle_renaultzoe_ph2_can/src/ph2_commands.cpp b/OVMS.V3/components/vehicle_renaultzoe_ph2_can/src/ph2_commands.cpp index 0ce511d..891ef49 100644 --- a/OVMS.V3/components/vehicle_renaultzoe_ph2_can/src/ph2_commands.cpp +++ b/OVMS.V3/components/vehicle_renaultzoe_ph2_can/src/ph2_commands.cpp @@ -43,9 +43,9 @@ void OvmsVehicleRenaultZoePh2CAN::CanInit() { OvmsCommand* cmd; - OvmsCommand* obd; - obd = cmd_zoe_ph2->RegisterCommand("can", "CAN tools"); - cmd = obd->RegisterCommand("request", "Send ISO-TP request, output response"); + OvmsCommand* ph2; + ph2 = cmd_zoe_ph2->RegisterCommand("ph2", "Zoe Ph2 CAN tools"); + cmd = ph2->RegisterCommand("request", "Send ISO-TP request, output response"); cmd->RegisterCommand("device", "Send ISO-TP request to a ECU", shell_can_request, " ", 3, 3); cmd->RegisterCommand("broadcast", "Send ISO-TP request as broadcast", shell_can_request, "", 1, 1); }