Skip to content

Commit

Permalink
Fix compiling of assembler functions
Browse files Browse the repository at this point in the history
  • Loading branch information
NicoHood committed Jan 27, 2017
1 parent 48306f3 commit 4aa4d25
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/Gamecube_N64.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 4aa4d25

Please sign in to comment.