I2C alarm seems not working anymore, setting a I2C auxmag and after boot without external power the I2C alarm still green.
Unpowered I2c device connected to flexiPort causes blinking STAB ok / STAB error (red cross)
Step to reproduce:
setup a GPS / I2c auxmag using wizard
connect I2c device
reboot without external power.
Possible solution -
use PIOS_I2C_GetDiagnostics() inside systemmod to get timeout and error counts, and manage I2C alarms according to detected changes.
System module already manages other alarms in similar fashion.