#ifndef UTIL_H
#define UTIL_H

#include "config.h"

/* Convert from ascii hex digit to number */
uint8_t from_hex(uint8_t ch);
extern const uint8_t hex[16];

/* Array length */
#define array_len(x) (sizeof(x)/sizeof(x[0]))

#endif

