STM: fix minor warnings

pull/9814/head
Laurent Meunier 2019-02-20 15:51:18 +01:00
parent 22f9ac6624
commit 5aa609b4db
2 changed files with 2 additions and 1 deletions

View File

@ -125,7 +125,7 @@ static void handle_interrupt_in(uint32_t irq_index, uint32_t max_num_pin_line)
}
}
}
error("Unexpected Spurious interrupt, index %d\r\n", irq_index);
error("Unexpected Spurious interrupt, index %ld\r\n", irq_index);
}

View File

@ -28,6 +28,7 @@
#include "cmsis.h"
int mbed_sdk_inited = 0;
extern void SetSysClock(void);
// This function is called after RAM initialization and before main.
void mbed_sdk_init()