mirror of
https://github.com/flowenol/apple1serial.git
synced 2024-12-11 05:49:54 +00:00
removing inlined methods causing problems with some versions of avr-ld
This commit is contained in:
parent
d57b804873
commit
b718d50ad7
@ -38,15 +38,15 @@ volatile uint8_t data_read_interrupt_count = 0;
|
||||
volatile uint8_t receive_buffer[BUFFER_SIZE];
|
||||
volatile int8_t receive_index = -1;
|
||||
|
||||
inline void ready() {
|
||||
void ready() {
|
||||
PORTD |= _BV(STATUS);
|
||||
}
|
||||
|
||||
inline void not_ready() {
|
||||
void not_ready() {
|
||||
PORTD &= ~(_BV(STATUS));
|
||||
}
|
||||
|
||||
inline void put_data() {
|
||||
void put_data() {
|
||||
upper_part = (PORTD & 0xe3) | ((0xe0 & receive_buffer[0])>>3);
|
||||
lower_part = (PORTB & 0xc1) | ((0x1f & receive_buffer[0])<<1);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user