mirror of
https://github.com/thooge/esp32-nmea2000-obp60.git
synced 2025-12-13 05:53:06 +01:00
modified: lib/obp60task/PageRollPitch.cpp
Typo
This commit is contained in:
@@ -70,7 +70,9 @@ public:
|
|||||||
else{
|
else{
|
||||||
svalue1 = String(value1/(2*PI)*360,0);
|
svalue1 = String(value1/(2*PI)*360,0);
|
||||||
}
|
}
|
||||||
|
if(valid1 == true){
|
||||||
|
svalue1old = svalue1; // Save the old value
|
||||||
|
}
|
||||||
// Get boat values for pitch
|
// Get boat values for pitch
|
||||||
GwApi::BoatValue *bvalue2 = pageData.values[1]; // Second element in list (xdrPitch)
|
GwApi::BoatValue *bvalue2 = pageData.values[1]; // Second element in list (xdrPitch)
|
||||||
String name2 = xdrDelete(bvalue2->getName()); // Value name
|
String name2 = xdrDelete(bvalue2->getName()); // Value name
|
||||||
@@ -93,6 +95,9 @@ public:
|
|||||||
else{
|
else{
|
||||||
svalue2 = String(value2/(2*PI)*360,0);
|
svalue2 = String(value2/(2*PI)*360,0);
|
||||||
}
|
}
|
||||||
|
if(valid2 == true){
|
||||||
|
svalue2old = svalue2; // Save the old value
|
||||||
|
}
|
||||||
|
|
||||||
// Optical warning by limit violation
|
// Optical warning by limit violation
|
||||||
if(String(flashLED) == "Limit Violation"){
|
if(String(flashLED) == "Limit Violation"){
|
||||||
|
|||||||
Reference in New Issue
Block a user