[style] Trailing white space fixes.

This commit is contained in:
Piotr Esden-Tempski
2015-01-20 16:27:50 -08:00
parent ea5af55b92
commit 71b2c1991f
3 changed files with 10 additions and 12 deletions

View File

@@ -1,4 +1,4 @@
/* /*
* This file is part of the libopencm3 project. * This file is part of the libopencm3 project.
* *
* Copyright (C) 2014 Chuck McManis (cmcmanis@mcmanis.com) * Copyright (C) 2014 Chuck McManis (cmcmanis@mcmanis.com)

View File

@@ -1,4 +1,4 @@
/* /*
* This file is part of the libopencm3 project. * This file is part of the libopencm3 project.
* *
* Copyright (C) 2014 Chuck McManis <cmcmanis@mcmanis.com> * Copyright (C) 2014 Chuck McManis <cmcmanis@mcmanis.com>
@@ -21,15 +21,13 @@
#define MCMFONT_INC #define MCMFONT_INC
/* Ascii 7 x 12 font /* Ascii 7 x 12 font
* *
* This is a pretty generic 7 x 12 ASCII font that includes * This is a pretty generic 7 x 12 ASCII font that includes lower case
* lower case descenders (indicated by (data & 0x80) != 0 * descenders (indicated by (data & 0x80) != 0 on the first data byte of the
* on the first data byte of the character. Each row * character. Each row represents 9 "lines" of the font, the bits in the byte
* represents 9 "lines" of the font, the bits in the byte * represent columns. When a glyph descends below the base line it is rendered
* represent columns. When a glyph descends below the base * 3 pixels lower (hence the height of 12 pixels rather than 9 even though the
* line it is rendered 3 pixels lower (hence the height of * data is only 9 rows tall)
* 12 pixels rather than 9 even though the data is only 9
* rows tall)
*/ */
#define FONT_CHAR_WIDTH 7 #define FONT_CHAR_WIDTH 7

View File

@@ -94,7 +94,7 @@ void gfx_drawCircle(int16_t x0, int16_t y0, int16_t r,
x++; x++;
ddF_x += 2; ddF_x += 2;
f += ddF_x; f += ddF_x;
gfx_drawPixel(x0 + x, y0 + y, color); gfx_drawPixel(x0 + x, y0 + y, color);
gfx_drawPixel(x0 - x, y0 + y, color); gfx_drawPixel(x0 - x, y0 + y, color);
gfx_drawPixel(x0 + x, y0 - y, color); gfx_drawPixel(x0 + x, y0 - y, color);