Skip to content
Snippets Groups Projects
Commit 3a8dae73 authored by Sergi Hernandez's avatar Sergi Hernandez
Browse files

Updated the head status flag in the head control register.

parent 3853bced
No related branches found
No related tags found
3 merge requests!5Dynamixel manager,!4Updates,!3Cpp simualor
......@@ -69,11 +69,13 @@ uint16_t head_tracking_get_period(void)
void head_tracking_start(void)
{
head_tracking_enabled=0x01;
ram_data[DARWIN_HEAD_CNTRL]|=HEAD_STATUS;
}
void head_tracking_stop(void)
{
head_tracking_enabled=0x00;
ram_data[DARWIN_HEAD_CNTRL]&=(~HEAD_STATUS);
}
uint8_t head_is_tracking(void)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment