Basic swim GUI for LPC4088
Fork of DMBasicGUI by
Diff: SlideShow/SlideShow.cpp
- Revision:
- 12:53601973f7eb
- Parent:
- 11:265884fa7fdd
- Child:
- 13:bff2288c2c61
--- a/SlideShow/SlideShow.cpp Tue Feb 17 10:34:13 2015 +0100 +++ b/SlideShow/SlideShow.cpp Thu Feb 19 14:37:29 2015 +0100 @@ -13,7 +13,7 @@ /* Helper macros for the Fade transition */ #define FADE_XRED(__in) (((__in)>>11)&0x1f) -#define FADE_XGREEN(__in) (((__in)>>6)&0x3f) +#define FADE_XGREEN(__in) (((__in)>>5)&0x3f) #define FADE_XBLUE(__in) ((__in)&0x1f) #define FADE_COMBINE(__old, __new, __mul) \ ( ((((FADE_XRED(__old)*(8-(__mul)))+(FADE_XRED(__new)*(__mul)))>>3)<<11) \