From d9df16ab660b27e5405f4775d803fa2e7f4ff729 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Heredero?= Date: Thu, 24 Aug 2023 17:26:42 +0200 Subject: [PATCH] move main --- 306-controller_interface.X/{app => }/main.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) rename 306-controller_interface.X/{app => }/main.c (88%) diff --git a/306-controller_interface.X/app/main.c b/306-controller_interface.X/main.c similarity index 88% rename from 306-controller_interface.X/app/main.c rename to 306-controller_interface.X/main.c index f8f2218..78e5812 100644 --- a/306-controller_interface.X/app/main.c +++ b/306-controller_interface.X/main.c @@ -1,6 +1,6 @@ -#include "../mcc_generated_files/mcc.h" -#include "../xf/xf.h" -#include "factory/factory.h" +#include "mcc_generated_files/mcc.h" +#include "xf/xf.h" +#include "app/factory/factory.h" /* * the main function @@ -29,6 +29,8 @@ void main(void) // TMR0 is interrupting. Important: Set the TICKINTERVAL define in //the xf.h file to the same value as the TMR0 value. TMR0_SetInterruptHandler(XF_decrementAndQueueTimers); + + CAN_Send(1,1,42); while (1) {