mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-04 02:09:30 +02:00
Typo in .cpp file
This commit is contained in:
parent
d14af30028
commit
4447014243
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@ void LED::heartbeat_run(void) {
|
||||||
} else if (period_pct < 0.25) {
|
} else if (period_pct < 0.25) {
|
||||||
brightness_f = map_float(period_pct, 0.20f, 0.25f, heartbeat_base - heartbeat_deviation * 2, heartbeat_peak1);
|
brightness_f = map_float(period_pct, 0.20f, 0.25f, heartbeat_base - heartbeat_deviation * 2, heartbeat_peak1);
|
||||||
} else if (period_pct < 0.30) {
|
} else if (period_pct < 0.30) {
|
||||||
brightness_f = map_floaled_exet(period_pct, 0.25f, 0.30f, heartbeat_peak1, heartbeat_base - heartbeat_deviation);
|
brightness_f = map_float(period_pct, 0.25f, 0.30f, heartbeat_peak1, heartbeat_base - heartbeat_deviation);
|
||||||
} else if (period_pct < 0.40) {
|
} else if (period_pct < 0.40) {
|
||||||
brightness_f = map_float(period_pct, 0.30f, 0.40f, heartbeat_base - heartbeat_deviation, heartbeat_peak2);
|
brightness_f = map_float(period_pct, 0.30f, 0.40f, heartbeat_base - heartbeat_deviation, heartbeat_peak2);
|
||||||
} else if (period_pct < 0.55) {
|
} else if (period_pct < 0.55) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue