Skip to content

Commit 6461a0b

Browse files
committed
fixup! sys/riotboot: riotboot head v2
1 parent 81017ef commit 6461a0b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

sys/include/riotboot/hdr.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ extern "C" {
5050
#define RIOTBOOT_MAGIC_V2 0x54304952 /* "RI0T" */
5151

5252
#if defined(MODULE_RIOTBOOT_HDR_V2)
53-
#define RIOTBOOT_MAGIC RIOTBOOT_MAGIC_V2
53+
# define RIOTBOOT_MAGIC RIOTBOOT_MAGIC_V2
5454
#else
55-
#define RIOTBOOT_MAGIC RIOTBOOT_MAGIC_V1
55+
# define RIOTBOOT_MAGIC RIOTBOOT_MAGIC_V1
5656
#endif
5757

5858
/**
@@ -75,7 +75,7 @@ extern "C" {
7575
* @brief Maximum number of attempts to boot a tentative image before reverting to the previous one
7676
*/
7777
#ifndef CONFIG_RIOTBOOT_MAX_ATTEMPTS
78-
#define CONFIG_RIOTBOOT_MAX_ATTEMPTS 3u
78+
# define CONFIG_RIOTBOOT_MAX_ATTEMPTS 3u
7979
#endif
8080

8181
static_assert(CONFIG_RIOTBOOT_MAX_ATTEMPTS > 0,

sys/include/riotboot/wdt.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ extern "C" {
2828
* The timeout is doubled on each unsuccessful attempt.
2929
*/
3030
#ifndef CONFIG_RIOTBOOT_WDT_TIMEOUT_MSEC
31-
#define CONFIG_RIOTBOOT_WDT_TIMEOUT_MSEC 4000
31+
# define CONFIG_RIOTBOOT_WDT_TIMEOUT_MSEC 4000
3232
#endif
3333

3434
static_assert(CONFIG_RIOTBOOT_WDT_TIMEOUT_MSEC > 0,

0 commit comments

Comments
 (0)