summaryrefslogtreecommitdiff
path: root/apps/plugins/iriver_flash.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/iriver_flash.c')
-rw-r--r--apps/plugins/iriver_flash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/iriver_flash.c b/apps/plugins/iriver_flash.c
index 67ea090cf2..4e84cc4c0c 100644
--- a/apps/plugins/iriver_flash.c
+++ b/apps/plugins/iriver_flash.c
@@ -116,7 +116,7 @@ bool cfi_erase_sector(volatile uint16_t* pAddr)
116 116
117 117
118/* address must be in an erased location */ 118/* address must be in an erased location */
119inline bool cfi_program_word(volatile uint16_t* pAddr, uint16_t data) 119static inline bool cfi_program_word(volatile uint16_t* pAddr, uint16_t data)
120{ 120{
121 unsigned timeout = 85; /* the timeout loop should be no less than 20us */ 121 unsigned timeout = 85; /* the timeout loop should be no less than 20us */
122 122