modified: lib/obp60task/PageRollPitch.cpp

Typo
This commit is contained in:
Tobias E 2024-11-20 09:22:00 +00:00
parent 1bc896dfd7
commit 94510878cd
1 changed files with 6 additions and 1 deletions

View File

@ -70,7 +70,9 @@ public:
else{
svalue1 = String(value1/(2*PI)*360,0);
}
if(valid1 == true){
svalue1old = svalue1; // Save the old value
}
// Get boat values for pitch
GwApi::BoatValue *bvalue2 = pageData.values[1]; // Second element in list (xdrPitch)
String name2 = xdrDelete(bvalue2->getName()); // Value name
@ -93,6 +95,9 @@ public:
else{
svalue2 = String(value2/(2*PI)*360,0);
}
if(valid2 == true){
svalue2old = svalue2; // Save the old value
}
// Optical warning by limit violation
if(String(flashLED) == "Limit Violation"){