Skip to content

Commit cb14248

Browse files
committed
Fix build warnings. Missing header include. Invalid const usage.
1 parent f93615c commit cb14248

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

secure_boot_and_secure_firmware_upgrade_over_canfd/icsp_inhibit.X/icsp_inhibit.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ static flash_data_t inhibitKeys[4] =
3333

3434
bool ICSP_INHIBIT_IsEnabled(void)
3535
{
36-
static const flash_data_t dataInFlash[4];
36+
static flash_data_t dataInFlash[4];
3737
FLASH_Read(0x801034, 4, dataInFlash);
3838

3939
if(memcmp(inhibitKeys, dataInFlash, sizeof(inhibitKeys)) == 0)

secure_boot_and_secure_firmware_upgrade_over_canfd/icsp_inhibit.X/terminal.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
*/
2121

2222
#include <stdbool.h>
23+
#include <stdio.h>
2324

2425
void TERMINAL_ClearScreen(void)
2526
{

0 commit comments

Comments
 (0)