forked from PAWPAW-Mirror/lib_xua
Final build issues with example app resolved after move to conf.h
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
Warnings relating to configuration defines located in this XC source file rather than the devicedefines.h header file in order to avoid multiple warnings being issued when the devicedefines.h header file is included in multiple files.
|
||||
*/
|
||||
|
||||
#include "xua_conf_default.h"
|
||||
#include "xua_conf_full.h"
|
||||
|
||||
#ifndef NO_USB
|
||||
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
#include <string.h>
|
||||
#include <xclib.h>
|
||||
|
||||
#if (XUA_DFU_EN == 1)
|
||||
|
||||
/* Defines flash area to erase on first DFU download request received
|
||||
*
|
||||
* Flash library will round it up to the nearest sector, e.g. 4KB
|
||||
@@ -245,4 +247,5 @@ int flash_cmd_erase_all(void)
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user