Revision f7d2c786 Target/Source/xcp.c
| Target/Source/xcp.c | ||
|---|---|---|
| 714 | 714 |
} |
| 715 | 715 |
/* indicate that the connection is established */ |
| 716 | 716 |
#if (BOOT_GATE_ENABLE > 0) |
| 717 |
#if defined(BOOT_COM_DEVICE_LEGACY_ID) |
|
| 717 | 718 |
if (deviceID == 0 || |
| 718 | 719 |
deviceID == (blt_int32u)BOOT_COM_DEVICE_ID || |
| 719 | 720 |
deviceID == (blt_int32u)BOOT_COM_DEVICE_LEGACY_ID) {
|
| 721 |
#else |
|
| 722 |
if (deviceID == 0 || |
|
| 723 |
deviceID == (blt_int32u)BOOT_COM_DEVICE_ID) {
|
|
| 724 |
#endif |
|
| 720 | 725 |
#endif |
| 721 | 726 |
xcpInfo.connected = 1; |
| 722 | 727 |
setLed(1); |
Also available in: Unified diff