STM32 fix

This commit is contained in:
Ben Meadors
2026-01-24 12:35:28 -06:00
parent a4875c234f
commit 9d3f189d90

View File

@@ -435,6 +435,7 @@ time_t gm_mktime(const struct tm *tm)
return result;
#else
return mktime(tm);
struct tm tmCopy = *tm;
return mktime(&tmCopy);
#endif
}