crashtest-r0ket/simulat0r/firmware/lcd/render.h

9 lines
188 B
C
Raw Permalink Normal View History

2011-07-19 08:09:03 +00:00
#include "../../../firmware/lcd/render.h"
#undef flip
#define flip(c) do {\
c = ((c>>1)&0x55)|((c<<1)&0xAA); \
c = ((c>>2)&0x33)|((c<<2)&0xCC); \
c = (c>>4) | (c<<4); \
}while(0)