The nRF24L01+ wireless dongle firmware
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
gex-nrf-dongle/Inc/minmax.h

16 lines
246 B

//
// Created by MightyPork on 2018/04/01.
//
#ifndef GEX_NRF_MINMAX_H
#define GEX_NRF_MINMAX_H
#ifndef MAX
#define MAX(a,b) ((a) > (b) ? (a) : (b))
#endif
#ifndef MIN
#define MIN(a,b) ((a) > (b) ? (b) : (a))
#endif
#endif //GEX_NRF_MINMAX_H