Fix warnings

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
Pol Henarejos
2026-05-04 15:16:17 +02:00
parent 869ef09f34
commit f8db7613b6
7 changed files with 36 additions and 19 deletions

View File

@@ -64,8 +64,11 @@ int settimeofday(const struct timeval* tp, const struct timezone* tzp)
}
#endif
#ifdef ENABLE_EMULATION
bool set_rtc = true;
#else
bool set_rtc = false;
#endif
bool has_set_rtc(void) {
return set_rtc;