Skip to content

Commit

Permalink
ibmpc: Remove inline of isr() to save space
Browse files Browse the repository at this point in the history
  • Loading branch information
tmk committed Feb 7, 2022
1 parent 4b42f5c commit 93274fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tmk_core/protocol/ibmpc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ void IBMPC::host_isr_clear(void)
ringbuf_reset();
}

inline void IBMPC::isr(void)
void IBMPC::isr(void)
{
uint8_t dbit;
dbit = IBMPC_DATA_PIN&(1<<data_bit);
Expand Down
2 changes: 1 addition & 1 deletion tmk_core/protocol/ibmpc.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ class IBMPC
clock_mask(1 << clock), data_mask(1 << data) {
};

inline void isr(void) __attribute__((__always_inline__));
void isr(void);


private:
Expand Down

0 comments on commit 93274fa

Please sign in to comment.