[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2025-09-02 18:57:25 +00:00
parent 081d96e055
commit 630c67a482
2 changed files with 9 additions and 11 deletions

View file

@ -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) {}

View file

@ -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();