mirror of https://github.com/rusefi/openblt.git
Refs #608. Renamed BOOT_XCP_UPLOAD_EN to BOOT_XCP_UPLOAD_ENABLE.
git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@584 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
This commit is contained in:
parent
330ed30a80
commit
84fa75ce8e
|
@ -483,12 +483,12 @@
|
|||
#error "BOOT_XCP_SEED_KEY_ENABLE must be 0 or 1"
|
||||
#endif
|
||||
|
||||
#ifndef BOOT_XCP_UPLOAD_EN
|
||||
#define BOOT_XCP_UPLOAD_EN (1)
|
||||
#ifndef BOOT_XCP_UPLOAD_ENABLE
|
||||
#define BOOT_XCP_UPLOAD_ENABLE (1)
|
||||
#endif
|
||||
|
||||
#if (BOOT_XCP_UPLOAD_EN < 0) || (BOOT_XCP_UPLOAD_EN > 1)
|
||||
#error "BOOT_XCP_UPLOAD_EN must be 0 or 1"
|
||||
#if (BOOT_XCP_UPLOAD_ENABLE < 0) || (BOOT_XCP_UPLOAD_ENABLE > 1)
|
||||
#error "BOOT_XCP_UPLOAD_ENABLE must be 0 or 1"
|
||||
#endif
|
||||
|
||||
#ifndef BOOT_XCP_PACKET_RECEIVED_HOOK
|
||||
|
|
|
@ -104,7 +104,7 @@
|
|||
* always desired for security reasons. If disabled, memory reads via XCP always
|
||||
* return zero values.
|
||||
*/
|
||||
#if (BOOT_XCP_UPLOAD_EN > 0)
|
||||
#if (BOOT_XCP_UPLOAD_ENABLE > 0)
|
||||
#define XCP_UPLOAD_EN (1)
|
||||
#else
|
||||
#define XCP_UPLOAD_EN (0)
|
||||
|
|
Loading…
Reference in New Issue