Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of RA8875 by
Diff: TextDisplay.cpp
- Revision:
- 33:b6b710758ab3
- Parent:
- 29:422616aa04bd
- Child:
- 37:f19b7e7449dc
--- a/TextDisplay.cpp Tue Jan 21 03:28:36 2014 +0000 +++ b/TextDisplay.cpp Wed Jan 22 03:50:55 2014 +0000 @@ -78,17 +78,17 @@ return -1; } -RetCode_t TextDisplay::foreground(uint16_t colour) +RetCode_t TextDisplay::foreground(uint16_t color) { - INFO("foreground(%4X)", colour); - _foreground = colour; + INFO("foreground(%4X)", color); + _foreground = color; return noerror; } -RetCode_t TextDisplay::background(uint16_t colour) +RetCode_t TextDisplay::background(uint16_t color) { - INFO("background(%4X)", colour); - _background = colour; + INFO("background(%4X)", color); + _background = color; return noerror; } @@ -105,3 +105,4 @@ setvbuf(stdout, NULL, _IOLBF, columns()); return true; } +