Subversion Repositories freemyipod

Rev

Rev 835 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 835 Rev 868
Line 145... Line 145...
145
    while (pixels & 3)
145
    while (pixels & 3)
146
	{
146
	{
147
        LCDWDATA = *in++;
147
        LCDWDATA = *in++;
148
        pixels--;
148
        pixels--;
149
	}
149
	}
-
 
150
    if (!pixels) return;
150
    lcd_dma_busy = true;
151
    lcd_dma_busy = true;
151
    DMABASE8 = in;
152
    DMABASE8 = in;
152
    DMACON8 = 0x20590000;
153
    DMACON8 = 0x20590000;
153
    DMATCNT8 = pixels / 4;
154
    DMATCNT8 = (pixels / 4) - 1;
154
    clean_dcache();
155
    clean_dcache();
155
    DMACOM8 = 4;
156
    DMACOM8 = 4;
156
}
157
}
157
 
158
 
158
static void displaylcd_solid(uint16_t data, int pixels) ICODE_ATTR;
159
static void displaylcd_solid(uint16_t data, int pixels) ICODE_ATTR;