From 44d7f39026787419cfc23fe86ea9f529f3d6f857 Mon Sep 17 00:00:00 2001 From: Thomas Klaehn Date: Sun, 29 Mar 2020 15:49:34 +0200 Subject: [PATCH] App: Transfer blinky into c++ application --- src/application/blinky/{main.c => main.cc} | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) rename src/application/blinky/{main.c => main.cc} (75%) diff --git a/src/application/blinky/main.c b/src/application/blinky/main.cc similarity index 75% rename from src/application/blinky/main.c rename to src/application/blinky/main.cc index 23ba09c..913f43d 100644 --- a/src/application/blinky/main.c +++ b/src/application/blinky/main.cc @@ -1,8 +1,10 @@ -#include -#include +extern "C" { + #include + #include -#include "delay.h" -#include "board.h" + #include "delay.h" + #include "board.h" +} int main(void) {