mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-04 02:09:30 +02:00
Fix compilation error
This commit is contained in:
parent
0b0f66c94a
commit
c82183b46a
4 changed files with 5 additions and 4 deletions
|
@ -30,7 +30,6 @@ void init_events(void) {
|
|||
}
|
||||
|
||||
void set_event(EVENTS_ENUM_TYPE event, uint8_t data) {
|
||||
#ifdef EVENTLOGGING
|
||||
if (event >= EVENT_NOF_EVENTS) {
|
||||
event = EVENT_UNKNOWN_EVENT_SET;
|
||||
}
|
||||
|
@ -42,7 +41,6 @@ void set_event(EVENTS_ENUM_TYPE event, uint8_t data) {
|
|||
Serial.println("Set event: " + String(get_event_enum_string(event)) + ". Has occured " +
|
||||
String(entries[event].occurences) + " times");
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
||||
void update_event_timestamps(void) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue