view autocal/stdband.h @ 86:348c29b7d02a

fc-cmu200d: ignore SIGPIPE so we don't exit if a client terminates while we are processing a command
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 16 Jul 2017 23:42:29 +0000
parents e93b5e727230
children
line wrap: on
line source

/* macro for encoding std and band in rfpw 7 command */

#define	RFPW_STD_BAND(std,band)	((std) | ((band) << 8))

#define	RFPW_STD_BAND_850	RFPW_STD_BAND(7, 0)
#define	RFPW_STD_BAND_900	RFPW_STD_BAND(6, 0)
#define	RFPW_STD_BAND_1800	RFPW_STD_BAND(6, 1)
#define	RFPW_STD_BAND_1900	RFPW_STD_BAND(3, 0)