From 71b2c1991fbda127beac1436993a03dcdb5273af Mon Sep 17 00:00:00 2001 From: Piotr Esden-Tempski Date: Tue, 20 Jan 2015 16:27:50 -0800 Subject: [PATCH] [style] Trailing white space fixes. --- examples/stm32/f4/stm32f4-disco/blink/blink.c | 2 +- .../f4/stm32f4-disco/lcd-serial/font-7x12.c | 18 ++++++++---------- .../stm32/f4/stm32f4-disco/lcd-serial/gfx.c | 2 +- 3 files changed, 10 insertions(+), 12 deletions(-) diff --git a/examples/stm32/f4/stm32f4-disco/blink/blink.c b/examples/stm32/f4/stm32f4-disco/blink/blink.c index 8b90836..97ae250 100644 --- a/examples/stm32/f4/stm32f4-disco/blink/blink.c +++ b/examples/stm32/f4/stm32f4-disco/blink/blink.c @@ -1,4 +1,4 @@ -/* +/* * This file is part of the libopencm3 project. * * Copyright (C) 2014 Chuck McManis (cmcmanis@mcmanis.com) diff --git a/examples/stm32/f4/stm32f4-disco/lcd-serial/font-7x12.c b/examples/stm32/f4/stm32f4-disco/lcd-serial/font-7x12.c index b623ad7..fc48fa2 100644 --- a/examples/stm32/f4/stm32f4-disco/lcd-serial/font-7x12.c +++ b/examples/stm32/f4/stm32f4-disco/lcd-serial/font-7x12.c @@ -1,4 +1,4 @@ -/* +/* * This file is part of the libopencm3 project. * * Copyright (C) 2014 Chuck McManis @@ -21,15 +21,13 @@ #define MCMFONT_INC /* Ascii 7 x 12 font - * - * This is a pretty generic 7 x 12 ASCII font that includes - * lower case descenders (indicated by (data & 0x80) != 0 - * on the first data byte of the character. Each row - * represents 9 "lines" of the font, the bits in the byte - * represent columns. When a glyph descends below the base - * line it is rendered 3 pixels lower (hence the height of - * 12 pixels rather than 9 even though the data is only 9 - * rows tall) + * + * This is a pretty generic 7 x 12 ASCII font that includes lower case + * descenders (indicated by (data & 0x80) != 0 on the first data byte of the + * character. Each row represents 9 "lines" of the font, the bits in the byte + * represent columns. When a glyph descends below the base line it is rendered + * 3 pixels lower (hence the height of 12 pixels rather than 9 even though the + * data is only 9 rows tall) */ #define FONT_CHAR_WIDTH 7 diff --git a/examples/stm32/f4/stm32f4-disco/lcd-serial/gfx.c b/examples/stm32/f4/stm32f4-disco/lcd-serial/gfx.c index 283287b..827bdb1 100644 --- a/examples/stm32/f4/stm32f4-disco/lcd-serial/gfx.c +++ b/examples/stm32/f4/stm32f4-disco/lcd-serial/gfx.c @@ -94,7 +94,7 @@ void gfx_drawCircle(int16_t x0, int16_t y0, int16_t r, x++; ddF_x += 2; f += ddF_x; - + gfx_drawPixel(x0 + x, y0 + y, color); gfx_drawPixel(x0 - x, y0 + y, color); gfx_drawPixel(x0 + x, y0 - y, color);