优化获取COM口的逻辑

This commit is contained in:
2024-07-15 01:01:03 +08:00
parent 09dbe975ac
commit 8a5fbc1319
2 changed files with 7 additions and 3 deletions

View File

@ -51,7 +51,7 @@ main.hex: $(TARGET)
flash:
-sudo chmod 777 $(COM)
-./reset_mcu.sh
-./reset_mcu.sh $(COM)
-stcgal -P stc89 -p $(COM) main.hex
#led.bin:led.hex