mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-05 02:39:57 +02:00
Restore to working order, success!
This commit is contained in:
parent
7f6eddca76
commit
5edfd6cdec
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ void set_event(EVENTS_ENUM_TYPE event, uint8_t data) {
|
||||||
void update_event_timestamps(void) {
|
void update_event_timestamps(void) {
|
||||||
unsigned long new_millis = millis();
|
unsigned long new_millis = millis();
|
||||||
if (new_millis - previous_millis >= 1000) {
|
if (new_millis - previous_millis >= 1000) {
|
||||||
//time_seconds++;
|
time_seconds++;
|
||||||
previous_millis = new_millis;
|
previous_millis = new_millis;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue