Files
PX4-Autopilot/platforms
Afonso Oliveira aa1724fa0c fix(px4_mtd): forward-declare the NuttX structs used in prototypes
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>
2026-10-23 22:42:28 +02:00
..