mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-06 03:50:13 +02:00
Rename files to match guidelines
This commit is contained in:
parent
19c99974e7
commit
6d7fe87192
5 changed files with 8 additions and 9 deletions
|
@ -2,11 +2,11 @@
|
|||
#define CHARGERS_H
|
||||
|
||||
#ifdef CHEVYVOLT_CHARGER
|
||||
#include "chevyvolt.h"
|
||||
#include "CHEVY-VOLT-CHARGER.h"
|
||||
#endif
|
||||
|
||||
#ifdef NISSANLEAF_CHARGER
|
||||
#include "nissanleaf.h"
|
||||
#include "NISSAN-LEAF-CHARGER.h"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#include "chevyvolt.h"
|
||||
#include "CHEVY-VOLT-CHARGER.h"
|
||||
#include "../lib/miwagner-ESP32-Arduino-CAN/CAN_config.h"
|
||||
#include "../lib/miwagner-ESP32-Arduino-CAN/ESP32CAN.h"
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef CHEVYVOLT_H
|
||||
#define CHEVYVOLT_H
|
||||
#ifndef CHEVYVOLT_CHARGER_H
|
||||
#define CHEVYVOLT_CHARGER_H
|
||||
#include <Arduino.h>
|
||||
#include "../../USER_SETTINGS.h"
|
||||
#include "../lib/miwagner-ESP32-Arduino-CAN/ESP32CAN.h"
|
|
@ -1,4 +1,4 @@
|
|||
#include "nissanleaf.h"
|
||||
#include "NISSAN-LEAF-CHARGER.h"
|
||||
#include "../lib/miwagner-ESP32-Arduino-CAN/CAN_config.h"
|
||||
#include "../lib/miwagner-ESP32-Arduino-CAN/ESP32CAN.h"
|
||||
|
|
@ -1,12 +1,11 @@
|
|||
#ifndef NISSANLEAF_H
|
||||
#define NISSANLEAF_H
|
||||
#ifndef NISSANLEAF_CHARGER_H
|
||||
#define NISSANLEAF_CHARGER_H
|
||||
#include <Arduino.h>
|
||||
#include "../../USER_SETTINGS.h"
|
||||
#include "../lib/miwagner-ESP32-Arduino-CAN/ESP32CAN.h"
|
||||
|
||||
extern uint16_t battery_voltage; //V+1, 0-500.0 (0-5000)
|
||||
|
||||
void update_values_can_nissanleaf_charger();
|
||||
void send_can_nissanleaf_charger();
|
||||
void receive_can_nissanleaf_charger(CAN_frame_t rx_frame);
|
||||
uint8_t calculate_CRC_Nissan(CAN_frame_t* frame);
|
Loading…
Add table
Add a link
Reference in a new issue