mirror of
https://github.com/overte-org/overte.git
synced 2025-08-07 12:10:44 +02:00
Merge pull request #218 from birarda/master
spacing repairs in SerialInterface
This commit is contained in:
commit
77f75be83a
1 changed files with 9 additions and 12 deletions
|
@ -152,9 +152,7 @@ void SerialInterface::renderLevels(int width, int height) {
|
|||
const int GAP = 16;
|
||||
char val[40];
|
||||
if (!USING_INVENSENSE_MPU9150) {
|
||||
for(i = 0; i < NUM_CHANNELS; i++)
|
||||
{
|
||||
|
||||
for(i = 0; i < NUM_CHANNELS; i++) {
|
||||
// Actual value
|
||||
glLineWidth(2.0);
|
||||
glColor4f(1, 1, 1, 1);
|
||||
|
@ -207,9 +205,8 @@ void SerialInterface::renderLevels(int width, int height) {
|
|||
glVertex2f(LEVEL_CORNER_X + LEVEL_CENTER, LEVEL_CORNER_Y - 6);
|
||||
glVertex2f(LEVEL_CORNER_X + LEVEL_CENTER, LEVEL_CORNER_Y + 30);
|
||||
glEnd();
|
||||
|
||||
|
||||
}
|
||||
|
||||
// Display Serial latency block
|
||||
if (LED) {
|
||||
glColor3f(1,0,0);
|
||||
|
|
Loading…
Reference in a new issue