[sky9x] Massstorage again!

[sky9x] More SD cards allowed
[X9D] Makefile for simu with 192x64 LCD
This commit is contained in:
bsongis
2012-09-18 19:45:24 +00:00
parent b2e29e911f
commit 7c3a4d3863
286 changed files with 7992 additions and 79398 deletions
+2 -2
View File
@@ -891,7 +891,7 @@ void refreshDisplay()
#else
x = lookup[*p];
#endif
for (z = 0; z < 128; z += 1) {
for (z = 0; z < DISPLAY_W; z += 1) {
// The following 7 lines replaces by a lookup table
// x = __RBIT( *p++ ) ;
@@ -1020,7 +1020,7 @@ void refreshDisplay()
#endif
PORTC_LCD_CTRL |= (1<<OUT_C_LCD_A0);
PORTC_LCD_CTRL &= ~(1<<OUT_C_LCD_RnW);
for(uint8_t x=128; x>0; --x) {
for(uint8_t x=DISPLAY_W; x>0; --x) {
PORTA_LCD_DAT = *p++;
PORTC_LCD_CTRL |= (1<<OUT_C_LCD_E);
PORTC_LCD_CTRL &= ~(1<<OUT_C_LCD_E);