We used a deprecated style of GNU GCC's designated initializers. Change them

to correct C99 style to fix warnings when building with clang.
Fix some typos in hd44780-serial while being there.
This commit is contained in:
mmdolze
2012-04-25 06:34:36 +00:00
parent 83b68ed09a
commit 9e4c082fd0
5 changed files with 1813 additions and 1812 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ struct hd44780_SerialInterface {
* The backlight flag determines the type of backlight available.
* If the backlight is just switchable, the backlight_off or
* backlight_on characters are sent according to backlight state.
* If the backlight is switchable, these characters must define a range
* If the backlight is adjustable, these characters must define a range
* of values that are understood as different brightness levels by
* the display. The 'brightness' and 'offbrightness' values from config
* are used according to the backlight state and mapped to this range.