mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-11-22 14:19:57 +08:00
px4_at24c_initialize() takes a struct i2c_master_s pointer. Without a declaration in scope the struct is local to the prototype, which is an error with -Werror on a target that does not include the NuttX I2C headers before px4_mtd.h. Assisted-by: Claude:claude-opus-5-5 Signed-off-by: Afonso Oliveira <afonso.oliveira707@gmail.com>