1
0
mirror of https://github.com/thooge/esp32-nmea2000-obp60.git synced 2025-12-29 05:33:05 +01:00

Few more pixel adjustments for horizontal half screen charts

This commit is contained in:
Ulrich Meine
2025-12-04 23:31:20 +01:00
parent 625f9c087e
commit 1b55439135
4 changed files with 84 additions and 94 deletions

View File

@@ -306,8 +306,6 @@ FormattedData formatValue(GwApi::BoatValue *value, CommonData &commondata){
}
else{
speed = std::round(speed * 100) / 100; // in rare cases, speed could be 9.9999 kn instead of 10.0 kn
LOG_DEBUG(GwLog::DEBUG,"OBPFormatter-formatValue: value->value: %.3f speed: %.15f speed<10: %d", value->value, speed, speed < 10.0);
if (speed < 10.0){
snprintf(buffer, bsize, fmt_dec_1, speed);
}