We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a88cef1 commit a193323Copy full SHA for a193323
modules/param/flash_journal.c
@@ -2,7 +2,7 @@
2
#include <modules/flash/flash.h>
3
#include <common/helpers.h>
4
5
-#define FLASH_JOURNAL_ALIGNMENT 2
+#define FLASH_JOURNAL_ALIGNMENT FLASH_WORD_SIZE
6
#define FLASH_JOURNAL_ENTRY_HEADER_SIZE sizeof(struct flash_journal_entry_s)
7
8
static uint16_t flash_journal_entry_compute_crc16(const struct flash_journal_entry_s* entry);
0 commit comments