force inline

This commit is contained in:
Bernhard
2011-11-28 21:51:44 +01:00
parent 311627141b
commit b19c8b74b9
3 changed files with 19 additions and 16 deletions

View File

@ -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;