|
@@ -37,10 +37,10 @@ struct pdb_config {
|
37
|
37
|
uint16_t _reserved[2];
|
38
|
38
|
} __attribute__((packed));
|
39
|
39
|
|
40
|
|
-/* Status for configuration structures. The empty status indicates that the
|
41
|
|
- * struct is ready to be written, including an update to the valid status.
|
42
|
|
- * Once the struct is no longer needed, the status is updated to invalid.
|
43
|
|
- * Erasing the flash page resets all structures to the empty status. */
|
|
40
|
+/* Status for configuration structures. EMPTY indicates that the struct is
|
|
41
|
+ * ready to be written, including a status update to VALID. Once the struct is
|
|
42
|
+ * no longer needed, the status is updated to INVALID. Erasing the flash page
|
|
43
|
+ * resets all structures to EMPTY. */
|
44
|
44
|
#define PDB_CONFIG_STATUS_INVALID 0x0000
|
45
|
45
|
#define PDB_CONFIG_STATUS_VALID 0xBEEF
|
46
|
46
|
#define PDB_CONFIG_STATUS_EMPTY 0xFFFF
|