mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-06 03:50:13 +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
91085673f5
commit
91f3700e85
1 changed files with 4 additions and 2 deletions
|
@ -401,7 +401,8 @@ void KiaHyundai64Battery::transmit_can(unsigned long currentMillis) {
|
||||||
if (currentMillis - previousMillis100 >= INTERVAL_100_MS) {
|
if (currentMillis - previousMillis100 >= INTERVAL_100_MS) {
|
||||||
previousMillis100 = currentMillis;
|
previousMillis100 = currentMillis;
|
||||||
|
|
||||||
if ((contactor_closing_allowed == nullptr || *contactor_closing_allowed) && datalayer.system.status.inverter_allows_contactor_closing) {
|
if ((contactor_closing_allowed == nullptr || *contactor_closing_allowed) &&
|
||||||
|
datalayer.system.status.inverter_allows_contactor_closing) {
|
||||||
transmit_can_frame(&KIA64_553);
|
transmit_can_frame(&KIA64_553);
|
||||||
transmit_can_frame(&KIA64_57F);
|
transmit_can_frame(&KIA64_57F);
|
||||||
transmit_can_frame(&KIA64_2A1);
|
transmit_can_frame(&KIA64_2A1);
|
||||||
|
@ -412,7 +413,8 @@ void KiaHyundai64Battery::transmit_can(unsigned long currentMillis) {
|
||||||
if (currentMillis - previousMillis10 >= INTERVAL_10_MS) {
|
if (currentMillis - previousMillis10 >= INTERVAL_10_MS) {
|
||||||
previousMillis10 = currentMillis;
|
previousMillis10 = currentMillis;
|
||||||
|
|
||||||
if ((contactor_closing_allowed == nullptr || *contactor_closing_allowed) && datalayer.system.status.inverter_allows_contactor_closing) {
|
if ((contactor_closing_allowed == nullptr || *contactor_closing_allowed) &&
|
||||||
|
datalayer.system.status.inverter_allows_contactor_closing) {
|
||||||
|
|
||||||
switch (counter_200) {
|
switch (counter_200) {
|
||||||
case 0:
|
case 0:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue