Skip to content

Commit

Permalink
mk5n: use inline instead of __inline
Browse files Browse the repository at this point in the history
  • Loading branch information
lifehackerhansol committed Sep 23, 2023
1 parent 0137d70 commit 1689a95
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions staging/mk5n/source/iointerface.c
Original file line number Diff line number Diff line change
Expand Up @@ -72,14 +72,12 @@ void cardreadpage(unsigned int addr,unsigned int dst,unsigned char cmd,unsigned
} while (REG_ROMCTRL & 0x80000000);
}

__inline
void cardreadpage_B7(unsigned int addr,unsigned int dst)
inline void cardreadpage_B7(unsigned int addr,unsigned int dst)
{
cardreadpage(addr,dst,0xB7,*(vu32*)0x027FFE60);
}

__inline
void cardreadpage_D2(unsigned int addr,unsigned int dst)
inline void cardreadpage_D2(unsigned int addr,unsigned int dst)
{
cardreadpage(addr,dst,0xD2,CARD_CR2_D2);
}
Expand Down

0 comments on commit 1689a95

Please sign in to comment.