move main

This commit is contained in:
Rémi Heredero 2023-08-24 17:26:42 +02:00
parent 7abb3b5313
commit d9df16ab66

View File

@ -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
@ -30,6 +30,8 @@ void main(void)
//the xf.h file to the same value as the TMR0 value.
TMR0_SetInterruptHandler(XF_decrementAndQueueTimers);
CAN_Send(1,1,42);
while (1)
{
//handle the next event if there is any in the queue