From 60dac9c5e628f9d7aaa992dee7569f62e833b9f5 Mon Sep 17 00:00:00 2001 From: Joseph Coffland Date: Thu, 15 Feb 2018 20:37:19 -0800 Subject: [PATCH] Load limit duty cycle w/ lockout --- src/pwr/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pwr/main.c b/src/pwr/main.c index ea4d679..27061ef 100644 --- a/src/pwr/main.c +++ b/src/pwr/main.c @@ -180,7 +180,7 @@ static void measure_nominal_voltage() { static void check_load(load_t *load) { bool overtemp = CURRENT_OVERTEMP * 100 < regs[load->reg]; if (overtemp && !load->lockout) { - load->lockout = 16; + load->lockout = 42; // About 200 ms if (load->limit < LOAD_LIMIT_TICKS) load->limit++; } -- 2.27.0