ubitxv6/utils.h

8 lines
216 B
C
Raw Permalink Normal View History

2020-02-08 23:59:06 +01:00
#pragma once
2020-02-10 09:35:32 +01:00
#include <stdint.h>
2020-02-10 09:16:15 +01:00
#define LIMIT(val,min,max) ((val) < (min)) ? (min) : (((max) < (val)) ? (max) : (val))
void formatFreq(uint32_t freq, char* buff_out, uint16_t buff_size, uint8_t fixed_width = 0);