mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-22 14:24:21 +08:00
rgbled_ncp5623c:Needs 2 retries
This commit is contained in:
committed by
Daniel Agar
parent
74903cf215
commit
8e04985940
@@ -142,6 +142,7 @@ RGBLED_NCP5623C::init()
|
||||
int
|
||||
RGBLED_NCP5623C::probe()
|
||||
{
|
||||
_retries = 2;
|
||||
int status = write(NCP5623_LED_CURRENT, NCP5623_LED_OFF);
|
||||
|
||||
if (status == PX4_ERROR) {
|
||||
|
||||
Reference in New Issue
Block a user