11,6 → 11,7 |
*/ |
|
#include "chimera.h" |
#include "tracer.h" |
|
//#define DEBUG_SEND /* Print Sent Values */ |
#define SERIAL_ON /* Send Data using Serial Port */ |
143,9 → 144,9 |
|
status.cfg[i].pwm = e->pwm; |
|
//#ifdef DEBUG_SEND |
#ifdef DEBUG_SEND |
printf_xy(3,2,WHITE,"%8d: Update leg %2d angle",(int)kern_gettime(NULL),i); |
//#endif |
#endif |
|
|
} |
250,6 → 251,7 |
|
task_nopreempt(); |
status.cfg[actual_leg].adc_in = servo_get_analog(COM1, actual_leg); |
TRACER_LOGEVENT(FTrace_EVT_ipoint,actual_leg,status.cfg[actual_leg].adc_in); |
task_preempt(); |
|
sys_gettime(&t); |