force inline
This commit is contained in:
1 parent
311627141b
commit
b19c8b74b9
3 files changed
+19
-16
No files matched your search
@@ -32,6 +32,7 @@
|
||||
#if defined(UBRRH) || defined(UBRR0H) || defined(UBRR1H) || defined(UBRR2H) || defined(UBRR3H)
|
||||
|
||||
#include "MarlinSerial.h"
|
||||
#include "Marlin.h"
|
||||
|
||||
|
||||
|
||||
@@ -41,7 +42,7 @@
|
||||
#endif
|
||||
|
||||
|
||||
inline void store_char(unsigned char c)
|
||||
FORCE_INLINE void store_char(unsigned char c)
|
||||
{
|
||||
int i = (unsigned int)(rx_buffer.head + 1) % RX_BUFFER_SIZE;
|
||||
|
||||
|
||||
Reference in new issue
Block a user