forked from PAWPAW-Mirror/lib_xua
Removed extra FLASH_MAX_UPGRADE_SIZE define based on ARCH_G
This commit is contained in:
@@ -6,11 +6,7 @@
|
|||||||
#include <xclib.h>
|
#include <xclib.h>
|
||||||
|
|
||||||
#ifndef FLASH_MAX_UPGRADE_SIZE
|
#ifndef FLASH_MAX_UPGRADE_SIZE
|
||||||
#ifdef ARCH_G
|
|
||||||
#define FLASH_MAX_UPGRADE_SIZE 128 * 1024 // 128K default
|
#define FLASH_MAX_UPGRADE_SIZE 128 * 1024 // 128K default
|
||||||
#else
|
|
||||||
#define FLASH_MAX_UPGRADE_SIZE 128 * 1024 // 128K default
|
|
||||||
#endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define FLASH_ERROR() do {} while(0)
|
#define FLASH_ERROR() do {} while(0)
|
||||||
|
|||||||
Reference in New Issue
Block a user