Use reference sentinel to efficiently reset dirty flags on rollover

This commit is contained in:
2024-09-21 20:54:25 +02:00
parent 70781c6628
commit cb8c738ca8
3 changed files with 120 additions and 106 deletions

View File

@@ -74,11 +74,10 @@ static int Init(void)
// be some sanity checking before these values are
// used.
MEM_Init();
// mem.temp = 30.50f;
// mem.dewp = 15.25f;
// mem.temp = 20.50f;
// mem.dewp = 10.25f;
// MEM_Write(&mem);
// MEM_Dump();
// MEM_Free();
if (MEM_Read(&mem) == 0) {