printer fixes
This commit is contained in:
parent
d48fe8fb09
commit
80cee27429
@ -24,11 +24,13 @@ void printer::printHex(uint8_t *data, size_t size) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void printer::printDec(uint8_t *data, size_t size) {
|
void printer::printDec(uint8_t *data, size_t size) {
|
||||||
|
sif::info << std::dec;
|
||||||
for(size_t i = 0; i < size; i++) {
|
for(size_t i = 0; i < size; i++) {
|
||||||
sif::info << "0x" << static_cast<int>(data[i]);
|
sif::info << "0x" << static_cast<int>(data[i]);
|
||||||
if(i < size - 1){
|
if(i < size - 1){
|
||||||
sif::info << " , ";
|
sif::info << " , ";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
sif::info << "]" << std::endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user