Changeset 38743 for titan


Ignore:
Timestamp:
09/12/16 12:39:04 (6 years ago)
Author:
obi
Message:

fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/moduleconfig.h

    r38741 r38743  
    122122        }
    123123        return 0;
    124 }
    125 
    126 void dw2hex(unsigned int num,char* buffer)
    127 {
    128         for(unsigned int i=7,tmp;!(i&0x80000000);i--)
    129         {
    130                 tmp = num&0xf;
    131                 buffer[i]= (tmp<10)?(tmp+0x30):(tmp+0x37);
    132                 num = num>>4;           
    133         }
    134         buffer[8]=0;
    135124}
    136125
Note: See TracChangeset for help on using the changeset viewer.