mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 01:12:11 +00:00
rgbled_ncp5623c:Needs 2 retries
This commit is contained in:
committed by
Daniel Agar
parent
09140c01bf
commit
b961f6a1e1
@@ -144,8 +144,7 @@ RGBLED_NCP5623C::init()
|
|||||||
int
|
int
|
||||||
RGBLED_NCP5623C::probe()
|
RGBLED_NCP5623C::probe()
|
||||||
{
|
{
|
||||||
_retries = 4;
|
_retries = 2;
|
||||||
|
|
||||||
int status = write(NCP5623_LED_CURRENT, NCP5623_LED_OFF);
|
int status = write(NCP5623_LED_CURRENT, NCP5623_LED_OFF);
|
||||||
|
|
||||||
if (status == PX4_ERROR) {
|
if (status == PX4_ERROR) {
|
||||||
|
|||||||
Reference in New Issue
Block a user