forked from EFeru/hoverboard-firmware-hack-FOC
Updated IBUS variant
- separated the implementation from USART implementation for more clarity - fixed warnings - minor visual updates
This commit is contained in:
@@ -112,8 +112,6 @@ void Nunchuck_Read(void) {
|
||||
HAL_Delay(3);
|
||||
if (HAL_I2C_Master_Receive(&hi2c2,0xA4,(uint8_t*)nunchuck_data, 6, 10) == HAL_OK) {
|
||||
timeout = 0;
|
||||
} else {
|
||||
timeout++;
|
||||
}
|
||||
|
||||
#ifndef TRANSPOTTER
|
||||
|
Reference in New Issue
Block a user