| 507 | } |
| 508 | |
| 509 | void DhcpClass::printByte(char * buf, uint8_t n ) { |
| 510 | char *str = &buf[1]; |
| 511 | buf[0]='0'; |
| 512 | do { |
| 513 | unsigned long m = n; |
| 514 | n /= 16; |
| 515 | char c = m - 16 * n; |
| 516 | *str-- = c < 10 ? c + '0' : c + 'A' - 10; |
| 517 | } while(n); |
| 518 | } |
nothing calls this directly
no outgoing calls
no test coverage detected