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 053a236f92..e054ba5c57 100644
--- a/driver/bc12/max14637.c
+++ b/driver/bc12/max14637.c
@@ -81,7 +81,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;