projects
/
bbctrl-firmware
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60dac9c
)
Load limit duty cycle w/ lockout
author
Joseph Coffland
<joseph@cauldrondevelopment.com>
Fri, 16 Feb 2018 04:50:59 +0000
(20:50 -0800)
committer
Joseph Coffland
<joseph@cauldrondevelopment.com>
Fri, 16 Feb 2018 04:50:59 +0000
(20:50 -0800)
src/pwr/main.c
patch
|
blob
|
history
diff --git
a/src/pwr/main.c
b/src/pwr/main.c
index 27061ef3b8f4e43f987b1c5fc9181e1ba3c2dc06..e5256883b04b66b2cfd2aa659b26107ad7b7d7a7 100644
(file)
--- 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 =
42; // About 200 m
s
+ load->lockout =
210; // About 1
s
if (load->limit < LOAD_LIMIT_TICKS) load->limit++;
}