Skip to content

Commit

Permalink
Merge pull request #56 from JeffCurless/55-ram-display-does-not-work-…
Browse files Browse the repository at this point in the history
…properly

Error with RAM display
  • Loading branch information
JeffCurless authored Aug 14, 2023
2 parents 6b26120 + 90488d4 commit 82a733b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions argononed.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,6 @@ def display_loop(readq):
prevscreen = curscreen
curscreen = screenenabled[screenid]

print( curscreen )
if screenjogtime == 0:
# Resets jogflag (if switched manually)
screenjogflag = 0
Expand Down Expand Up @@ -390,9 +389,9 @@ def display_loop(readq):
try:
oled_loadbg("bgram")
tmpraminfo = argonsysinfo_getram()
oled_writetextaligned(tmpraminfo[0], stdleftoffset, 8, oledscreenwidth-stdleftoffset, 1, fontwdReg)
oled_writetextaligned(tmpraminfo["percent"]+"%", stdleftoffset, 8, oledscreenwidth-stdleftoffset, 1, fontwdReg)
oled_writetextaligned("of", stdleftoffset, 24, oledscreenwidth-stdleftoffset, 1, fontwdReg)
oled_writetextaligned(tmpraminfo[1], stdleftoffset, 40, oledscreenwidth-stdleftoffset, 1, fontwdReg)
oled_writetextaligned(tmpraminfo["gb"]+"GB", stdleftoffset, 40, oledscreenwidth-stdleftoffset, 1, fontwdReg)
needsUpdate = True
except:
logError( "Error processing information for RAM display")
Expand Down

0 comments on commit 82a733b

Please sign in to comment.