2011-05-21 10:05:48 +00:00
|
|
|
#include <sysinit.h>
|
|
|
|
|
|
|
|
/**************************************************************************/
|
|
|
|
|
|
|
|
void module_default(void) {
|
2011-06-13 21:19:18 +00:00
|
|
|
systickInit(10);
|
2011-05-21 10:05:48 +00:00
|
|
|
return;
|
2011-06-13 21:19:18 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
// every 10 ms
|
|
|
|
void tick_default(void) {
|
|
|
|
static int ctr;
|
|
|
|
ctr++;
|
|
|
|
if(ctr>100){
|
|
|
|
VoltageCheck();
|
|
|
|
ctr=0;
|
|
|
|
};
|
|
|
|
|
|
|
|
return;
|
|
|
|
};
|