mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-03 17:59:27 +02:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
081d96e055
commit
630c67a482
2 changed files with 9 additions and 11 deletions
|
@ -3,13 +3,11 @@
|
||||||
#include "../../Software/src/communication/can/comm_can.h"
|
#include "../../Software/src/communication/can/comm_can.h"
|
||||||
|
|
||||||
// Provide the definition that was previously in USER_SETTINGS.cpp
|
// Provide the definition that was previously in USER_SETTINGS.cpp
|
||||||
volatile CAN_Configuration can_config = {
|
volatile CAN_Configuration can_config = {.battery = CAN_Interface::CAN_NATIVE,
|
||||||
.battery = CAN_Interface::CAN_NATIVE,
|
.inverter = CAN_Interface::CAN_NATIVE,
|
||||||
.inverter = CAN_Interface::CAN_NATIVE,
|
.battery_double = CAN_Interface::CAN_NATIVE,
|
||||||
.battery_double = CAN_Interface::CAN_NATIVE,
|
.charger = CAN_Interface::CAN_NATIVE,
|
||||||
.charger = CAN_Interface::CAN_NATIVE,
|
.shunt = CAN_Interface::CAN_NATIVE};
|
||||||
.shunt = CAN_Interface::CAN_NATIVE
|
|
||||||
};
|
|
||||||
|
|
||||||
void delay(unsigned long ms) {}
|
void delay(unsigned long ms) {}
|
||||||
void delayMicroseconds(unsigned long us) {}
|
void delayMicroseconds(unsigned long us) {}
|
||||||
|
|
|
@ -103,13 +103,13 @@ typedef int WiFiEventInfo_t;
|
||||||
|
|
||||||
// Mock WiFi functions
|
// Mock WiFi functions
|
||||||
inline void onWifiConnect(WiFiEvent_t event, WiFiEventInfo_t info) {
|
inline void onWifiConnect(WiFiEvent_t event, WiFiEventInfo_t info) {
|
||||||
(void)event;
|
(void)event;
|
||||||
(void)info;
|
(void)info;
|
||||||
}
|
}
|
||||||
|
|
||||||
inline void onWifiDisconnect(WiFiEvent_t event, WiFiEventInfo_t info) {
|
inline void onWifiDisconnect(WiFiEvent_t event, WiFiEventInfo_t info) {
|
||||||
(void)event;
|
(void)event;
|
||||||
(void)info;
|
(void)info;
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned long micros();
|
unsigned long micros();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue