mirror of
https://github.com/mon/PocketVoltex.git
synced 2026-10-10 16:18:24 +03:00
eAmuse Cloud support
This commit is contained in:
@@ -36,7 +36,7 @@ COMMAND_VERSION = 0x03
|
||||
COMMAND_STARTAPPLICATION = 0x04
|
||||
COMMAND_PROGRAM = 0x05
|
||||
|
||||
BOOTLOADER_VERSION = 65000
|
||||
BOOTLOADER_VERSION = 11
|
||||
|
||||
# Device information table
|
||||
device_info_map = dict()
|
||||
@@ -86,10 +86,6 @@ def program_device(hex_data, device_info):
|
||||
print("No valid device found.")
|
||||
sys.exit(1)
|
||||
|
||||
if get_version(device) != BOOTLOADER_VERSION:
|
||||
print("Device not in bootloader. TODO: reboot")
|
||||
sys.exit(1)
|
||||
|
||||
try:
|
||||
print("Connected to bootloader.")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user