sl-firmware
0207c29d8c
fix: Resolve all 7 compile errors and 4 linker errors (Issue #337)
COMPILE FIXES:
1. battery.c: Added #include <stdbool.h> for bool type
2. main.c: Updated buzzer_play() to buzzer_play_melody(MELODY_STARTUP)
3. main.c: Replaced bno055_active with bno055_is_ready() calls
4. servo.c: Removed duplicate ServoState typedef from .c file
5. ultrasonic.c: Added forward declaration for HAL_TIM_IC_Init_Compat
6. fan.c: Fixed HAL_TIM_PWM_Start to use handle &htim1 instead of register
7. watchdog.c: Created static IWDG_HandleTypeDef and updated refresh call
LINKER FIXES:
1. i2c1.h/c: Added i2c1_write() and i2c1_read() function implementations
2. servo.c: servo_tick() already exists (verified)
3. bno055.h/c: Added bno055_calibrated() function
4. main.c: Added imu_calibrated() wrapper for bno055_calibrated()
5. crsf.h/c: Added crsf_is_active() function
All 11 errors fixed. Build should now succeed.
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-03-03 11:26:27 -05:00
..
2026-03-02 10:34:35 -05:00
2026-02-28 13:09:18 -05:00
2026-03-02 08:35:48 -05:00
2026-02-28 19:43:48 -05:00
2026-03-03 11:26:27 -05:00
2026-03-02 12:51:42 -05:00
2026-03-02 11:44:56 -05:00
2026-03-03 11:26:27 -05:00
2026-03-02 13:29:18 -05:00
2026-02-28 11:58:23 -05:00
2026-03-03 11:26:27 -05:00
2026-02-28 11:58:23 -05:00
2026-03-02 11:51:26 -05:00
2026-02-28 21:07:15 -05:00
2026-03-02 10:53:02 -05:00
2026-03-02 11:06:13 -05:00
2026-02-28 17:48:53 -05:00
2026-02-28 21:06:26 -05:00
2026-02-28 17:15:40 -05:00
2026-02-28 17:42:24 -05:00
2026-03-02 09:56:18 -05:00
2026-03-02 10:53:02 -05:00
2026-03-02 20:49:26 -05:00
2026-03-01 04:55:54 -05:00
2026-03-02 11:44:56 -05:00
2026-03-01 04:55:54 -05:00
2026-03-02 12:22:09 -05:00
2026-03-02 21:09:17 -05:00