diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/flash.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/flash.h b/include/flash.h index 238d0101..ea8e25b8 100644 --- a/include/flash.h +++ b/include/flash.h @@ -156,6 +156,7 @@ enum write_granularity { #define FEATURE_WRSR3 (1 << 23) #define ERASED_VALUE(flash) (((flash)->chip->feature_bits & FEATURE_ERASED_ZERO) ? 0x00 : 0xff) +#define UNERASED_VALUE(flash) (((flash)->chip->feature_bits & FEATURE_ERASED_ZERO) ? 0xff : 0x00) enum test_state { OK = 0, |