mirror of
https://github.com/firewalkwithm3/Sensor-Watch.git
synced 2024-11-22 11:10:29 +08:00
Merge PR #461 - improve t/y special case docs
Fix a typo and make the documentation clearer. Reviewed-by: Matheus Afonso Martins Moreira <matheus@matheusmoreira.com> GitHub-Pull-Request: https://github.com/joeycastillo/Sensor-Watch/pull/461
This commit is contained in:
commit
a2e5417de9
|
@ -43,8 +43,8 @@ void watch_display_character(uint8_t character, uint8_t position) {
|
||||||
else if (character == 'M' || character == 'm' || character == 'N') character = 'n'; // M and uppercase N need to be lowercase n
|
else if (character == 'M' || character == 'm' || character == 'N') character = 'n'; // M and uppercase N need to be lowercase n
|
||||||
else if (character == 'c') character = 'C'; // C needs to be uppercase
|
else if (character == 'c') character = 'C'; // C needs to be uppercase
|
||||||
else if (character == 'J') character = 'j'; // same
|
else if (character == 'J') character = 'j'; // same
|
||||||
else if (character == 't' || character == 'T') character = '+'; // t in those locations looks like E
|
else if (character == 't' || character == 'T') character = '+'; // t in those locations looks like E otherwise
|
||||||
else if (character == 'y' || character == 'Y') character = '4'; // t in those locations looks like g
|
else if (character == 'y' || character == 'Y') character = '4'; // y in those locations looks like g otherwise
|
||||||
else if (character == 'v' || character == 'V' || character == 'U' || character == 'W' || character == 'w') character = 'u'; // bottom segment duplicated, so show in top half
|
else if (character == 'v' || character == 'V' || character == 'U' || character == 'W' || character == 'w') character = 'u'; // bottom segment duplicated, so show in top half
|
||||||
} else {
|
} else {
|
||||||
if (character == 'u') character = 'v'; // we can use the bottom segment; move to lower half
|
if (character == 'u') character = 'v'; // we can use the bottom segment; move to lower half
|
||||||
|
|
Loading…
Reference in a new issue