瀏覽代碼

tweak menu text

Thomas Buck 1 年之前
父節點
當前提交
6ca1971499
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      python-test/state_scan.py

+ 1
- 1
python-test/state_scan.py 查看文件

39
     def draw_list(self):
39
     def draw_list(self):
40
         for i, d in enumerate(self.results):
40
         for i, d in enumerate(self.results):
41
             s1 = "{}".format(d.name())
41
             s1 = "{}".format(d.name())
42
-            s2 = "{} - {}".format(i + 1, d.device.addr_hex())
42
+            s2 = "{}: [{}] {}".format(i + 1, d.device.addr_hex(), d.rssi)
43
 
43
 
44
             off = i * 25 + 30
44
             off = i * 25 + 30
45
             if off >= self.lcd.height:
45
             if off >= self.lcd.height:

Loading…
取消
儲存