20 #define INLINE __attribute__ ((always_inline)) inline 21 #define WEAK __attribute__((weak)) 27 #define PSTR(str) (str) 29 #define BYTE_OF(v,n) (((byte *)&(v))[n]) 31 #define TO_STRING2(x) #x 32 #define TO_STRING(x) TO_STRING2(x) 35 static inline int max(
int a,
int b){
41 const float * addr = (
const float *)v;
52 const uint32_t * addr = (
const uint32_t *)v;
63 #define NOINLINE __attribute__ ((noinline)) 69 #include "../osd_ns.h" 73 using namespace OSDns;
static void delayMicroseconds(uint16_t us)
static int max(int a, int b)
static uint8_t pgm_read_byte(const void *v)
static float pgm_read_float(const void *v)
-*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
void hal_delay_microseconds(uint16_t t)
static uint32_t pgm_read_word(const void *v)