1
0
forked from me/IronOS

Tiny patch for as mentioned in #30

This commit is contained in:
Ben V. Brown
2017-07-23 17:03:17 +10:00
parent cb8bc643c4
commit 2c5a83c134
3 changed files with 5 additions and 1 deletions

3
.gitignore vendored
View File

@@ -39,4 +39,5 @@ workspace/ts100/.settings/language.settings.xml
workspace/ts100/.cproject workspace/ts100/.cproject
TS100/KiCad/TS100.bak TS100/KiCad/TS100.bak
Logo GUI/TS100 Logo Editor/TS100 Logo Editor/obj/ Logo GUI/TS100 Logo Editor/TS100 Logo Editor/obj/
Logo GUI/TS100 Logo Editor/TS100 Logo Editor/bin/ Logo GUI/TS100 Logo Editor/TS100 Logo Editor/bin/
workspace/ts100/ts100.xml

View File

@@ -186,4 +186,5 @@
<resource resourceType="PROJECT" workspacePath="/ts100"/> <resource resourceType="PROJECT" workspacePath="/ts100"/>
</configuration> </configuration>
</storageModule> </storageModule>
<storageModule moduleId="org.eclipse.cdt.make.core.buildtargets"/>
</cproject> </cproject>

View File

@@ -427,6 +427,8 @@ void DrawUI() {
if (cellV < 33) if (cellV < 33)
cellV = 33; cellV = 33;
cellV -= 33; //Should leave us a number of 0-9 cellV -= 33; //Should leave us a number of 0-9
if (cellV > 9)
cellV = 9;
OLED_DrawExtendedChar(cellV + 1, 5); OLED_DrawExtendedChar(cellV + 1, 5);
} else { } else {
OLED_DrawChar(' ', 5); OLED_DrawChar(' ', 5);