aboutsummaryrefslogtreecommitdiff
path: root/projects
diff options
context:
space:
mode:
Diffstat (limited to 'projects')
-rw-r--r--projects/bootloader/log.c3
-rw-r--r--projects/hsm/log.c3
2 files changed, 6 insertions, 0 deletions
diff --git a/projects/bootloader/log.c b/projects/bootloader/log.c
index ee951d9..c0d9df4 100644
--- a/projects/bootloader/log.c
+++ b/projects/bootloader/log.c
@@ -32,6 +32,9 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#include <stdio.h>
+#include <stdarg.h>
+
#define HAL_OK CMSIS_HAL_OK
#include "stm-uart.h"
#undef HAL_OK
diff --git a/projects/hsm/log.c b/projects/hsm/log.c
index ee951d9..c0d9df4 100644
--- a/projects/hsm/log.c
+++ b/projects/hsm/log.c
@@ -32,6 +32,9 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#include <stdio.h>
+#include <stdarg.h>
+
#define HAL_OK CMSIS_HAL_OK
#include "stm-uart.h"
#undef HAL_OK