Skip to content

Commit edc9ca7

Browse files
committed
[6.4] Read raw value for arming check
1 parent 5974932 commit edc9ca7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

inc/version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
#pragma once
33

44
#define VERSION_MAJOR 6
5-
#define VERSION_MINOR 3
5+
#define VERSION_MINOR 4

src/sp140/sp140.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,7 @@ bool armSystem() {
563563
// Returns true if the throttle/pot is below the safe threshold
564564
bool throttleSafe() {
565565
pot->update();
566-
if (pot->getValue() < POT_SAFE_LEVEL) {
566+
if (pot->getRawValue() < POT_SAFE_LEVEL) {
567567
return true;
568568
}
569569
return false;

0 commit comments

Comments
 (0)