forked from Archive/PX4-Autopilot
v4 compatibility
This commit is contained in:
parent
38f9c25e93
commit
3c0c11aec3
|
@ -158,7 +158,7 @@ class uploader(object):
|
|||
|
||||
INFO_BL_REV = chr(1) # bootloader protocol revision
|
||||
BL_REV_MIN = 2 # minimum supported bootloader protocol
|
||||
BL_REV_MAX = 3 # maximum supported bootloader protocol
|
||||
BL_REV_MAX = 4 # maximum supported bootloader protocol
|
||||
INFO_BOARD_ID = chr(2) # board type
|
||||
INFO_BOARD_REV = chr(3) # board revision
|
||||
INFO_FLASH_SIZE = chr(4) # max firmware size in bytes
|
||||
|
|
|
@ -69,7 +69,7 @@ private:
|
|||
PROTO_REBOOT = 0x30,
|
||||
|
||||
INFO_BL_REV = 1, /**< bootloader protocol revision */
|
||||
BL_REV = 3, /**< supported bootloader protocol */
|
||||
BL_REV = 4, /**< supported bootloader protocol */
|
||||
INFO_BOARD_ID = 2, /**< board type */
|
||||
INFO_BOARD_REV = 3, /**< board revision */
|
||||
INFO_FLASH_SIZE = 4, /**< max firmware size in bytes */
|
||||
|
|
Loading…
Reference in New Issue