fix the ~ being offset in some cases
This commit is contained in:
2
main.cpp
2
main.cpp
@@ -149,7 +149,7 @@ void displayThread(std::stop_token st, Sensors* s) {
|
||||
|
||||
lcd.writeBuf(3, 0, pad(pNum(s->cpu.vcore, 2) + "V", 7, JUST::LEFT));
|
||||
lcd.writeBuf(3, 6, std::to_string(s->cpu.avg_freq) + "MHz");
|
||||
lcd.writeBuf(3, 14, lcd.cc(2) + pad(pBytes(s->home.usage.free), 5));
|
||||
lcd.writeBuf(3, 14, pad(lcd.cc(2) + pBytes(s->home.usage.free), 6));
|
||||
lcd.writeBuf(3, 21, pad(std::to_string(s->gpu.clock_core) + "/" + std::to_string(s->gpu.clock_mem) + "MHz ", 13));
|
||||
lcd.writeBuf(3, 34, pad(pNum(s->gpu.vcore, 3) + "V", 5));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user