diff --git a/src/Gamecube_N64.h b/src/Gamecube_N64.h index 22f6a51..8bd5967 100644 --- a/src/Gamecube_N64.h +++ b/src/Gamecube_N64.h @@ -76,13 +76,15 @@ extern "C" { // functions to communicate with the gc/n64 controller uint8_t gc_n64_send_get(const uint8_t pin, uint8_t* command, const uint8_t commandLen, - uint8_t* report, const uint8_t reportLen); + uint8_t* report, const uint8_t reportLen) __attribute__((noinline)); void gc_n64_send(const uint8_t* buff, uint8_t len, - volatile uint8_t* modePort, volatile uint8_t* outPort, uint8_t bitMask); + volatile uint8_t* modePort, volatile uint8_t* outPort, uint8_t bitMask) + __attribute__((noinline)); uint8_t gc_n64_get(uint8_t* buff, uint8_t len, - volatile uint8_t* modePort, volatile uint8_t* outPort, volatile uint8_t * inPort, uint8_t bitMask); + volatile uint8_t* modePort, volatile uint8_t* outPort, volatile uint8_t * inPort, uint8_t bitMask) + __attribute__((noinline)); #ifdef __cplusplus }