Modularizando o src
Dependencies: EALib EthernetInterface_vz mbed-rtos mbed
Fork of header_main_colinas_V0-20-09-14 by
Diff: utils.cpp
- Revision:
- 119:ee6a53069455
- Parent:
- 117:e9facba9db27
- Child:
- 121:ee02790d00b7
diff -r b93b17c50910 -r ee6a53069455 utils.cpp --- a/utils.cpp Fri Apr 24 13:54:24 2015 +0000 +++ b/utils.cpp Thu Apr 30 15:42:41 2015 +0000 @@ -3,11 +3,12 @@ static char itoh[16]; char hexbuf[10]; -void hex_init(void) { +int hex_init(void) { itoh[0] = '0'; itoh[1] = '1'; itoh[2] = '2'; itoh[3] = '3'; itoh[4] = '4'; itoh[5] = '5'; itoh[6] = '6'; itoh[7] = '7'; itoh[8] = '8'; itoh[9] = '9'; itoh[10] = 'a'; itoh[11] = 'b'; itoh[12] = 'c'; itoh[13] = 'd'; itoh[14] = 'e'; itoh[15] = 'f'; + return ( 0 ); } char * hex8 (uint8_t i) {