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
@ -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)
{