comparison autocal/stdband.h @ 42:dcf7cd305e2b

fc-rfcal-gmagic started
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 27 May 2017 05:04:14 +0000
parents 7ac866c3baf6
children e93b5e727230
comparison
equal deleted inserted replaced
41:3f4221ef916a 42:dcf7cd305e2b
1 /* macro for encoding std and band in rfpw 7 command */ 1 /* macro for encoding std and band in rfpw 7 command */
2 2
3 #define RFPW_STD_BAND(std,band) ((std) | ((band) << 8)) 3 #define RFPW_STD_BAND(std,band) ((std) | ((band) << 8))
4
5 #define RFPW_STD_BAND_850 RFPW_STD_BAND(7, 0)
6 #define RFPW_STD_BAND_900 RFPW_STD_BAND(2, 0)
7 #define RFPW_STD_BAND_1800 RFPW_STD_BAND(4, 0)
8 #define RFPW_STD_BAND_1900 RFPW_STD_BAND(3, 0)