Use reference sentinel to efficiently reset dirty flags on rollover
This commit is contained in:
@@ -12,9 +12,9 @@ struct mem_block_s {
|
||||
float temp, dewp;
|
||||
} __attribute__((packed));
|
||||
|
||||
void MEM_Init(void);
|
||||
void MEM_Write(mem_block_t *in);
|
||||
int MEM_Read(mem_block_t *out);
|
||||
void MEM_Free(void);
|
||||
void MEM_Dump(void);
|
||||
|
||||
#endif // MAD_CORE_COMMON_MEMORY_H
|
||||
|
||||
Reference in New Issue
Block a user