Revision 102
changed indent
graphics.c | ||
---|---|---|
85 | 85 |
|
86 | 86 |
return SUCCESS; |
87 | 87 |
} |
88 |
|
|
89 |
int (vg_draw_hline)(uint16_t x, uint16_t y, uint16_t len, uint32_t color){ |
|
90 |
/* |
|
91 |
uint8_t color8 = color; |
|
92 |
for(uint16_t l = 0; l < len; ++l){ |
|
93 |
*(video_mem+y*1024+x+len) = color8; |
|
94 |
}*/ |
|
95 |
return 0; |
|
96 |
} |
Also available in: Unified diff