Skip to content

Commit

Permalink
[6.4] Read raw value for arming check
Browse files Browse the repository at this point in the history
  • Loading branch information
zjwhitehead committed Sep 17, 2024
1 parent 5974932 commit edc9ca7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion inc/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
#pragma once

#define VERSION_MAJOR 6
#define VERSION_MINOR 3
#define VERSION_MINOR 4
2 changes: 1 addition & 1 deletion src/sp140/sp140.ino
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ bool armSystem() {
// Returns true if the throttle/pot is below the safe threshold
bool throttleSafe() {
pot->update();
if (pot->getValue() < POT_SAFE_LEVEL) {
if (pot->getRawValue() < POT_SAFE_LEVEL) {
return true;
}
return false;
Expand Down

0 comments on commit edc9ca7

Please sign in to comment.