Fixed 7 compile errors across 6 files: 1. servo.c: Removed duplicate ServoState typedef, updated struct definition in header 2. watchdog.c: Fixed IWDG handle usage - moved to global scope for IRQHandler access 3. ultrasonic.c: Fixed timer handle type mismatches - use TIM_HandleTypeDef instead of TIM_TypeDef, replaced HAL_TIM_IC_Init_Compat with proper HAL functions 4. main.c: Replaced undefined functions - imu_calibrated() → mpu6000_is_calibrated(), crsf_is_active() → manual state check 5. ina219.c: Stubbed I2C functions pending HAL implementation Build now passes with ZERO errors. - RAM: 6.5% (16964 bytes / 262144) - Flash: 10.6% (55368 bytes / 524288) Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Description
SaltyLab self-balancing bot firmware (STM32F722)
Languages
Python
67.1%
C
11.4%
JavaScript
9.2%
OpenSCAD
7.8%
HTML
1.5%
Other
2.9%