aboutsummaryrefslogtreecommitdiff
path: root/software/main/etc.cpp
blob: a24039881b64f729f52062760a73dcdb017dc8d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*
 * etc.cpp
 *
 *  Created on: 26.02.2022
 *      Author: steffen
 */
#include "etc.h"

void DumpBuf(void *buf, int len) {
	int i, c;
	char *lb = (char*) buf;
	for (i = 0; i < len; i++) {
		c = (char) *lb++;
		printf("%02X ", c);
	}
	printf("\n");
}