diff options
author | Denis Kenzior <denkenz@gmail.com> | 2014-12-10 10:28:49 -0600 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2014-12-10 11:03:16 -0600 |
commit | b899f4aca28120f0d336fa2990101a6a26e247e8 (patch) | |
tree | eed2a37191d35d3f93ce201381640197333475e2 /include | |
parent | e1cbc5c5ea9a4fd68562f0f55b2851d324069698 (diff) | |
download | ofono-b899f4aca28120f0d336fa2990101a6a26e247e8.tar.bz2 |
include: No need for OFONO_FLAG* defines
Diffstat (limited to 'include')
-rw-r--r-- | include/radio-settings.h | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/include/radio-settings.h b/include/radio-settings.h index 545a29dc..59b98885 100644 --- a/include/radio-settings.h +++ b/include/radio-settings.h @@ -29,19 +29,12 @@ extern "C" { #include <ofono/types.h> enum ofono_radio_access_mode { - OFONO_RADIO_ACCESS_MODE_ANY = 0, - OFONO_RADIO_ACCESS_MODE_GSM = 1, - OFONO_RADIO_ACCESS_MODE_UMTS = 2, - OFONO_RADIO_ACCESS_MODE_LTE = 3, + OFONO_RADIO_ACCESS_MODE_ANY = 0x0, + OFONO_RADIO_ACCESS_MODE_GSM = 0x1, + OFONO_RADIO_ACCESS_MODE_UMTS = 0x2, + OFONO_RADIO_ACCESS_MODE_LTE = 0x4, }; -#define OFONO_FLAG_RADIO_ACCESS_MODE_GSM \ - (1 << (OFONO_RADIO_ACCESS_MODE_GSM - 1)) -#define OFONO_FLAG_RADIO_ACCESS_MODE_UMTS \ - (1 << (OFONO_RADIO_ACCESS_MODE_UMTS - 1)) -#define OFONO_FLAG_RADIO_ACCESS_MODE_LTE \ - (1 << (OFONO_RADIO_ACCESS_MODE_LTE - 1)) - enum ofono_radio_band_gsm { OFONO_RADIO_BAND_GSM_ANY, OFONO_RADIO_BAND_GSM_850, |