Refs #144.
- Fixed compile errors in XCP module when no communication interfaces are enabled in blt_conf.h. git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@158 5dc33758-31d5-4daf-9ae8-b24bf3d40d73
This commit is contained in:
parent
dea8e21945
commit
c42509f68a
|
@ -32,6 +32,7 @@
|
|||
#include "boot.h" /* bootloader generic header */
|
||||
|
||||
|
||||
#if (BOOT_COM_ENABLE > 0)
|
||||
/****************************************************************************************
|
||||
* Defines
|
||||
****************************************************************************************/
|
||||
|
@ -1338,6 +1339,6 @@ static void XcpCmdProgramPrepare(blt_int8u *data)
|
|||
} /*** end of XcpCmdProgramPrepare ***/
|
||||
#endif /* XCP_RES_PROGRAMMING_EN == 1 */
|
||||
|
||||
|
||||
#endif /* BOOT_COM_ENABLE > 0 */
|
||||
|
||||
/******************************** end of xcp.c *****************************************/
|
||||
|
|
|
@ -28,6 +28,7 @@
|
|||
#ifndef XCP_H
|
||||
#define XCP_H
|
||||
|
||||
#if (BOOT_COM_ENABLE > 0)
|
||||
/****************************************************************************************
|
||||
* Configuration
|
||||
****************************************************************************************/
|
||||
|
@ -227,5 +228,6 @@ void XcpPacketReceived(blt_int8u *data);
|
|||
#endif
|
||||
|
||||
|
||||
#endif /* BOOT_COM_ENABLE > 0 */
|
||||
#endif /* XCP_H */
|
||||
/******************************** end of xcp.h *~~~~~***********************************/
|
||||
|
|
Loading…
Reference in New Issue