summaryrefslogtreecommitdiff
path: root/driver/bc12/max14637.c
diff options
context:
space:
mode:
Diffstat (limited to 'driver/bc12/max14637.c')
-rw-r--r--driver/bc12/max14637.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver/bc12/max14637.c b/driver/bc12/max14637.c
index d1c640a0f6..c7101b00ef 100644
--- a/driver/bc12/max14637.c
+++ b/driver/bc12/max14637.c
@@ -83,7 +83,7 @@ static void bc12_detect(const int port)
*/
msleep(100);
activate_chip_enable(cfg, 0);
- msleep(1);
+ msleep(CONFIG_BC12_MAX14637_DELAY_FROM_OFF_TO_ON_MS);
activate_chip_enable(cfg, 1);
new_chg.voltage = USB_CHARGER_VOLTAGE_MV;