extract Version from define
Some checks failed
Test compiling project / test (push) Failing after 1m33s

This commit is contained in:
2025-02-15 16:03:32 +01:00
parent 10b34c3fd4
commit 33fdae3fb2
6 changed files with 45 additions and 29 deletions

View File

@@ -1,4 +1,5 @@
#include <Arduino.h>
#include <utils.h>
#pragma once
@@ -37,4 +38,11 @@ struct ActiveErrors {
bool current_high;
bool level_low;
bool level_high;
};
struct OTAStatus {
bool update_available;
Version current_version;
Version latest_version;
int update_progress;
};