Skip to content

Commit

Permalink
Rewording and fixing comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
fbrausse committed Jan 20, 2013
1 parent 8eb7217 commit b95f8d1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ hold the RGB values for each pixel. It supports quite a set of commands that
allow to easily manipulate what's shown on the LCD without changing the actual
data in the framebuffer.

This library provides access to all the documenten commands the controller
This library provides access to all the documented commands the controller
supports.

Library
Expand All @@ -34,9 +34,9 @@ header:
Optionally the macro SSD_RD_DATA() may be defined which allows the
initialization code in ssd_init_pll() to verify that the PLL of the chip
indeed has settled on the specified frequency settings and is stable.
However, initialization will also proceed without this macros being defined
and in my local experiments I haven't found a setting and PLL combination
that would produce unstable results.
However, initialization will also proceed without this macro being defined.
In my local experiments I haven't found a setting and PLL combination that
would produce unstable results.

- or #define SSD_IO_MACROS to a path name (including surrounding "quotes")
pointing to a C header file that defines the above macros.
Expand Down
6 changes: 3 additions & 3 deletions ssd-cat.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#include "ssd1963.h" /* commands/init functions for SSD1963 controller */
#include "itdb02.h" /* LCD definitions */

/* use the 4.3" display from ITead Studios */
/* use the 4.3" display from ITead Studio */
#define LCD_PANEL HSD043I9W1_A
#define LCD_PANEL_W (LCD_PANEL.hori.visible)
#define LCD_PANEL_H (LCD_PANEL.vert.visible)
Expand Down Expand Up @@ -42,9 +42,9 @@ int main(int argc, char **argv)

if (r == EXIT_SUCCESS) {
size_t i, n;
/* horizontal interval to draw to */
SSD_SET_PAGE_ADDRESS(y, y + h - 1);
/* vertical interval to draw to */
SSD_SET_PAGE_ADDRESS(y, y + h - 1);
/* horizontal interval to draw to */
SSD_SET_COLUMN_ADDRESS(x, x + w - 1);
/* writing commences... */
SSD_WRITE_MEMORY_START();
Expand Down

0 comments on commit b95f8d1

Please sign in to comment.