From b718d50ad7d7ab2b78f28b5df6371af36e621717 Mon Sep 17 00:00:00 2001 From: flowenol Date: Sat, 7 Jan 2023 15:08:03 +0100 Subject: [PATCH] removing inlined methods causing problems with some versions of avr-ld --- firmware/main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/firmware/main.c b/firmware/main.c index 59eb44e..bba5234 100644 --- a/firmware/main.c +++ b/firmware/main.c @@ -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);