Update led.c

This commit is contained in:
Jack Marriott
2018-12-02 01:12:19 -08:00
committed by GitHub
parent f62f830d4b
commit 45c2adf2ec

View File

@@ -488,7 +488,7 @@ ReturnStatus led_init(const HciLedCfg *driver)
- Disable input buffer (RegInputDisable)
- Disable pull-up (RegPullUp)
- Enable open drain (RegOpenDrain)
- Set direction to output (RegDir) \96 by default RegData is set high => LED
- Set direction to output (RegDir) by default RegData is set high => LED
OFF
- Enable oscillator (RegClock)
- Configure LED driver clock and mode if relevant (RegMisc)
@@ -530,7 +530,7 @@ ReturnStatus led_init(const HciLedCfg *driver)
return status;
}
/* Set direction to output (RegDir) \96
/* Set direction to output (RegDir)
* by default RegData is set high => LED OFF */
status = ioexp_led_config_data_direction(&driver->sx1509_dev[index],
SX1509_REG_AB, 0x00, 0x00);