1
0
Fork 0
forked from len0rd/rockbox

archos: Shut up a compiler warning by marking an inline function as static

Change-Id: I6222b87159235a28f2b69b512f95eafb8dd60564
This commit is contained in:
Solomon Peachy 2020-03-30 20:55:27 -04:00
parent 849320422c
commit c8111eb5b7

View file

@ -198,7 +198,7 @@ bool EraseSector(volatile UINT8* pAddr)
/* address must be in an erased location */ /* address must be in an erased location */
inline bool ProgramByte(volatile UINT8* pAddr, UINT8 data) static inline bool ProgramByte(volatile UINT8* pAddr, UINT8 data)
{ {
#ifdef DUMMY #ifdef DUMMY
(void)pAddr; /* prevents warnings */ (void)pAddr; /* prevents warnings */