mirror of https://github.com/ArduPilot/ardupilot
HAL_ChibiOS: switch non-composite USB ID
use newly allocated 0x1209/0x5740
This commit is contained in:
parent
a31f881232
commit
43172bdd57
|
@ -809,8 +809,8 @@ def get_USB_IDs():
|
|||
default_vid = 0x1209
|
||||
default_pid = 0x5740
|
||||
else:
|
||||
default_vid = 0x0483
|
||||
default_pid = 0x5740
|
||||
default_vid = 0x1209
|
||||
default_pid = 0x5741
|
||||
return (get_config('USB_VENDOR', type=int, default=default_vid), get_config('USB_PRODUCT', type=int, default=default_pid))
|
||||
|
||||
def write_USB_config(f):
|
||||
|
|
Loading…
Reference in New Issue