Original project changes: Zoe Ph2: include in standard build, fix tag warning
This commit is contained in:
parent
337b736771
commit
d7944c8894
|
@ -42,6 +42,8 @@
|
||||||
#include "vehicle_renaultzoe_ph2_obd.h"
|
#include "vehicle_renaultzoe_ph2_obd.h"
|
||||||
#include "ph2_poller.h"
|
#include "ph2_poller.h"
|
||||||
|
|
||||||
|
const char *OvmsVehicleRenaultZoePh2OBD::s_tag = "v-zoe-ph2-obd";
|
||||||
|
|
||||||
OvmsVehicleRenaultZoePh2OBD::OvmsVehicleRenaultZoePh2OBD() {
|
OvmsVehicleRenaultZoePh2OBD::OvmsVehicleRenaultZoePh2OBD() {
|
||||||
ESP_LOGI(TAG, "Start Renault Zoe Ph2 (OBD) vehicle module");
|
ESP_LOGI(TAG, "Start Renault Zoe Ph2 (OBD) vehicle module");
|
||||||
|
|
||||||
|
|
|
@ -26,8 +26,6 @@
|
||||||
#ifndef __VEHICLE_RENAULTZOE_PH2_OBD_H__
|
#ifndef __VEHICLE_RENAULTZOE_PH2_OBD_H__
|
||||||
#define __VEHICLE_RENAULTZOE_PH2_OBD_H__
|
#define __VEHICLE_RENAULTZOE_PH2_OBD_H__
|
||||||
|
|
||||||
static const char *TAG = "v-zoe-ph2-obd";
|
|
||||||
|
|
||||||
#include <atomic>
|
#include <atomic>
|
||||||
|
|
||||||
#include "can.h"
|
#include "can.h"
|
||||||
|
@ -58,7 +56,11 @@ static const char *TAG = "v-zoe-ph2-obd";
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
|
#define TAG (OvmsVehicleRenaultZoePh2OBD::s_tag)
|
||||||
|
|
||||||
class OvmsVehicleRenaultZoePh2OBD : public OvmsVehicle {
|
class OvmsVehicleRenaultZoePh2OBD : public OvmsVehicle {
|
||||||
|
public:
|
||||||
|
static const char *s_tag;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
OvmsVehicleRenaultZoePh2OBD();
|
OvmsVehicleRenaultZoePh2OBD();
|
||||||
|
|
Loading…
Reference in New Issue