Merge pull request #638 from pimoroni/patch/bytes-not-kilobytes

Correct RAM units
This commit is contained in:
Hel Gibbons 2023-01-18 15:50:31 +00:00 committed by GitHub
commit b3edbc47d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ def free(full=False):
if not full:
return P
else:
return (f"Total RAM \n{T} KB \nUnused RAM \n{F} KB \n({P} free)")
return (f"Total RAM \n{T} bytes \nUnused RAM \n{F} bytes \n({P} free)")
def hsv_to_rgb(h, s, v):