Преглед изворни кода

fix typo in devterm-a06-gearbox

cuu пре 2 година
родитељ
комит
0192f9dfa4
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      Code/A06/devterm-a06-gearbox

+ 2 - 2
Code/A06/devterm-a06-gearbox

@@ -126,7 +126,7 @@ class A06:
         freq = ""
         with open(gpu_freq_path,"r") as f: freq = f.read().strip()
         mhz = int(freq)/1000000
-        return "%dMhz" % mhz
+        return "%dMHz" % mhz
 
     def set_gpu(self,gov,hz):
         gpu_sys_path = "/sys/devices/platform/ff9a0000.gpu/devfreq/ff9a0000.gpu"
@@ -240,7 +240,7 @@ def print_gear_map(gear):
             print(val) 
       
 def print_help_msg():
-    print("Useage: devterm-a06-gearbox [OPTION]...")
+    print("Usage: devterm-a06-gearbox [OPTION]...")
     print("Show or set the CPU operating frequency,online status and GPU operating frequency for DevTerm A06.")
     print()
     print(" -s, --set [n] set a speed mode between the number 1-5:")