Skip to content

Commit 45f5852

Browse files
committed
Improve logs
1 parent 194c482 commit 45f5852

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

library/lcd/lcd_comm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def openSerial(self):
7676
if self.com_port == 'AUTO':
7777
lcd_com_port = self.auto_detect_com_port()
7878
if not lcd_com_port:
79-
logger.error("Cannot find COM port automatically, please set it manually in config.yaml")
79+
logger.error("Cannot find COM port automatically, please run Configuration again and select COM port manually")
8080
try:
8181
sys.exit(0)
8282
except:

library/sensors/sensors_librehardwaremonitor.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def get_gpu_name() -> str:
131131
nvidia_gpus += 1
132132

133133
logger.warning(
134-
"Found %d GPUs on your system (%d AMD/%d Nvidia/%d Intel). Try to identify which GPU to use." % (
134+
"Found %d GPUs on your system (%d AMD / %d Nvidia / %d Intel). Auto identify which GPU to use." % (
135135
len(hw_gpus), amd_gpus, nvidia_gpus, intel_gpus))
136136

137137
if nvidia_gpus >= 1:
@@ -238,6 +238,7 @@ def temperature() -> float:
238238

239239

240240
class Gpu(sensors.Gpu):
241+
# GPU to use is detected once, and its name is saved for future sensors readings
241242
gpu_name = ""
242243

243244
@classmethod

0 commit comments

Comments
 (0)