PFW-1530 minor optimisation

Don't inline WriteRegister

Change in memory:
Flash: -12 bytes
SRAM: 0 bytes
This commit is contained in:
Guðni Már Gilbert 2023-08-05 15:41:55 +00:00 committed by DRracer
parent 1cda696e14
commit efd85110a3
1 changed files with 1 additions and 1 deletions

View File

@ -174,7 +174,7 @@ bool MMU2::ReadRegisterInner(uint8_t address) {
return true;
}
bool MMU2::WriteRegister(uint8_t address, uint16_t data) {
bool __attribute__((noinline)) MMU2::WriteRegister(uint8_t address, uint16_t data) {
if (!WaitForMMUReady())
return false;