Remove dashes from filenames

These aren't supported by MicroPythonOS' freeze system.
This commit is contained in:
Thomas Farstrike
2025-11-22 10:17:11 +01:00
parent 9125fcc247
commit c8f725b49d
3 changed files with 2 additions and 2 deletions
+2 -2
View File
@@ -13,12 +13,12 @@ import sys
if sys.platform == "linux" or sys.platform == "darwin": # linux and macOS
board = "linux"
elif sys.platform == "esp32":
board = "fri3d-2024" # default fallback
board = "fri3d_2024" # default fallback
import machine
from machine import Pin, I2C
i2c0 = I2C(0, sda=machine.Pin(48), scl=machine.Pin(47))
if i2c0.scan() == [21, 107]: # touch screen and IMU
board = "waveshare-esp32-s3-touch-lcd-2"
board = "waveshare_esp32_s3_touch_lcd_2"
print(f"Detected hardware {board}, initializing...")
import mpos.info