forked from len0rd/rockbox
Fix warning about using static vars in non static inline functions with gcc 4.5.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28911 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
b8bf7cb5ed
commit
0ba13e45f0
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ bool cfi_erase_sector(volatile uint16_t* pAddr)
|
|||
|
||||
|
||||
/* address must be in an erased location */
|
||||
inline bool cfi_program_word(volatile uint16_t* pAddr, uint16_t data)
|
||||
static inline bool cfi_program_word(volatile uint16_t* pAddr, uint16_t data)
|
||||
{
|
||||
unsigned timeout = 85; /* the timeout loop should be no less than 20us */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue