Browse Source

pico_ota wrong output path

Thomas Buck 1 year ago
parent
commit
0b9a93b2d4
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      pico_ota.py

+ 3
- 3
pico_ota.py View File

209
                 self.text.setText(commit[ 0 :  5], "bitmap6")
209
                 self.text.setText(commit[ 0 :  5], "bitmap6")
210
                 self.text.draw(0, 6 * 1, False)
210
                 self.text.draw(0, 6 * 1, False)
211
 
211
 
212
-                self.text.fg = (0, 255, 255)
212
+                self.text.fg = (255, 0, 0)
213
                 self.text.setText("Write", "bitmap6")
213
                 self.text.setText("Write", "bitmap6")
214
                 self.text.draw(0, 6 * 2, False)
214
                 self.text.draw(0, 6 * 2, False)
215
 
215
 
336
         s.draw(0, 6 * 2, False)
336
         s.draw(0, 6 * 2, False)
337
 
337
 
338
         s.fg = (0, 255, 255)
338
         s.fg = (0, 255, 255)
339
-        s.setText(ota.exe_path[0 : 5], "bitmap6")
339
+        s.setText("camp_pico.py"[0 : 5], "bitmap6")
340
         s.draw(0, 6 * 3, False)
340
         s.draw(0, 6 * 3, False)
341
 
341
 
342
-        s.setText(ota.exe_path[5 : ], "bitmap6")
342
+        s.setText("camp_pico.py"[5 : ], "bitmap6")
343
         s.draw(0, 6 * 4, False)
343
         s.draw(0, 6 * 4, False)
344
 
344
 
345
         t.loop_end()
345
         t.loop_end()

Loading…
Cancel
Save