Merge pull request #218 from birarda/master

spacing repairs in SerialInterface
This commit is contained in:
birarda 2013-05-06 17:51:05 -07:00
commit 77f75be83a

View file

@ -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);