fixed payload status in FoxTelem

pico-i2c
alanbjohnston 3 years ago committed by GitHub
parent 4fc6da7bfc
commit 8f964a2374
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1037,10 +1037,10 @@ void get_tlm_fox() {
Serial.print("posXv = ");
Serial.println(posXv);
*/
// if (payload == ON)
// STEMBoardFailure = 0;
STEMBoardFailure = !payload;
if (payload == ON)
STEMBoardFailure = 0;
else
STEMBoardFailure = 1;
// read payload sensor if available
// Serial.println("Before encoding");

Loading…
Cancel
Save

Powered by TurnKey Linux.