mirror of
https://github.com/thooge/esp32-nmea2000-obp60.git
synced 2026-08-18 10:22:31 +02:00
Delete obsolete comments in OBPcharts.cpp
This commit is contained in:
@@ -476,7 +476,6 @@ void Chart::drawChrtTimeAxis(const char chrtDir, const int8_t chrtSz, const int8
|
|||||||
|
|
||||||
intv = 60; // print axis label each 60 pixels = seconds
|
intv = 60; // print axis label each 60 pixels = seconds
|
||||||
axSlots = timAxis / intv; // number of axis labels; value will be truncated to full number
|
axSlots = timAxis / intv; // number of axis labels; value will be truncated to full number
|
||||||
// i = axSlots * chrtIntv * -1; // current minute label
|
|
||||||
|
|
||||||
if (chrtDir == HORIZONTAL) {
|
if (chrtDir == HORIZONTAL) {
|
||||||
getdisplay().fillRect(0, cRoot.y, dWidth, 2, fgColor);
|
getdisplay().fillRect(0, cRoot.y, dWidth, 2, fgColor);
|
||||||
@@ -509,7 +508,6 @@ void Chart::drawChrtTimeAxis(const char chrtDir, const int8_t chrtSz, const int8
|
|||||||
} else if (chrtSz == HALF_SIZE_RIGHT) { // half size chart; right side
|
} else if (chrtSz == HALF_SIZE_RIGHT) { // half size chart; right side
|
||||||
drawTextCenter(dWidth / 2, cRoot.y + j, sTime); // time value; print mid screen
|
drawTextCenter(dWidth / 2, cRoot.y + j, sTime); // time value; print mid screen
|
||||||
}
|
}
|
||||||
// i += chrtIntv;
|
|
||||||
i -= chrtIntv;
|
i -= chrtIntv;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user