move main
This commit is contained in:
parent
7abb3b5313
commit
d9df16ab66
@ -1,6 +1,6 @@
|
|||||||
#include "../mcc_generated_files/mcc.h"
|
#include "mcc_generated_files/mcc.h"
|
||||||
#include "../xf/xf.h"
|
#include "xf/xf.h"
|
||||||
#include "factory/factory.h"
|
#include "app/factory/factory.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* the main function
|
* the main function
|
||||||
@ -29,6 +29,8 @@ void main(void)
|
|||||||
// TMR0 is interrupting. Important: Set the TICKINTERVAL define in
|
// TMR0 is interrupting. Important: Set the TICKINTERVAL define in
|
||||||
//the xf.h file to the same value as the TMR0 value.
|
//the xf.h file to the same value as the TMR0 value.
|
||||||
TMR0_SetInterruptHandler(XF_decrementAndQueueTimers);
|
TMR0_SetInterruptHandler(XF_decrementAndQueueTimers);
|
||||||
|
|
||||||
|
CAN_Send(1,1,42);
|
||||||
|
|
||||||
while (1)
|
while (1)
|
||||||
{
|
{
|
Reference in New Issue
Block a user