mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-03 16:48:52 +08:00
rgbled:Updated comment, removing reference to PX4FMUv1
Comment expressly referenced PX4FMUv1, but the EEPROM, could be used on any board.
This commit is contained in:
committed by
Daniel Agar
parent
f5e9ae6682
commit
acb51aeda3
@@ -189,12 +189,11 @@ RGBLED::probe()
|
||||
|
||||
/**
|
||||
this may look strange, but is needed. There is a serial
|
||||
EEPROM (Microchip-24aa01) on the PX4FMU-v1 that responds to
|
||||
a bunch of I2C addresses, including the 0x55 used by this
|
||||
LED device. So we need to do enough operations to be sure
|
||||
we are talking to the right device. These 3 operations seem
|
||||
to be enough, as the 3rd one consistently fails if no
|
||||
RGBLED is on the bus.
|
||||
EEPROM (Microchip-24aa01) that responds to a bunch of I2C
|
||||
addresses, including the 0x55 used by this LED device. So
|
||||
we need to do enough operations to be sure we are talking
|
||||
to the right device. These 3 operations seem to be enough,
|
||||
as the 3rd one consistently fails if no RGBLED is on the bus.
|
||||
*/
|
||||
|
||||
unsigned prevretries = _retries;
|
||||
|
||||
Reference in New Issue
Block a user