Skip to content

Commit 91c08e3

Browse files
LMESTM0xc0170
authored andcommitted
STM: fix minor warnings
1 parent 1a6cdf8 commit 91c08e3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

targets/TARGET_STM/gpio_irq_api.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ static void handle_interrupt_in(uint32_t irq_index, uint32_t max_num_pin_line)
125125
}
126126
}
127127
}
128-
error("Unexpected Spurious interrupt, index %d\r\n", irq_index);
128+
error("Unexpected Spurious interrupt, index %ld\r\n", irq_index);
129129
}
130130

131131

targets/TARGET_STM/mbed_overrides.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
#include "cmsis.h"
2929

3030
int mbed_sdk_inited = 0;
31+
extern void SetSysClock(void);
3132

3233
// This function is called after RAM initialization and before main.
3334
void mbed_sdk_init()

0 commit comments

Comments
 (0)