Changeset 38743 for titan/titan/moduleconfig.h
- Timestamp:
- 09/12/16 12:39:04 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/titan/moduleconfig.h
r38741 r38743 122 122 } 123 123 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;135 124 } 136 125
Note: See TracChangeset
for help on using the changeset viewer.