Skip to content

Commit

Permalink
param: use the alignment defined in flash driver
Browse files Browse the repository at this point in the history
  • Loading branch information
bugobliterator committed Oct 31, 2019
1 parent a88cef1 commit a193323
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/param/flash_journal.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#include <modules/flash/flash.h>
#include <common/helpers.h>

#define FLASH_JOURNAL_ALIGNMENT 2
#define FLASH_JOURNAL_ALIGNMENT FLASH_WORD_SIZE
#define FLASH_JOURNAL_ENTRY_HEADER_SIZE sizeof(struct flash_journal_entry_s)

static uint16_t flash_journal_entry_compute_crc16(const struct flash_journal_entry_s* entry);
Expand Down

0 comments on commit a193323

Please sign in to comment.