close

2009/2/27 10:30

bug 1 : OSD_putc function did not define character "9"

void OSD_putc( char c, int position)
{

  if( c >= '0' && c < '9' )
   {
        *(unsigned int *) (LCD_IO_Base + 0xc000 + position *4 )  = ( (c -'0') << 4);

bug 1 fix

if( c >= '0' && c <= '9' )
   {
        *(unsigned int *) (LCD_IO_Base + 0xc000 + position *4 )  = ( (c -'0') << 4);
arrow
arrow
    全站熱搜
    創作者介紹
    創作者 hfchou 的頭像
    hfchou

    小方的盜墓筆記

    hfchou 發表在 痞客邦 留言(0) 人氣()