force inline

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

No files matched your search

+2 -1
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;