diff options
author | Brandon Bayer <bbayer@multitech.com> | 2016-05-18 16:02:41 -0500 |
---|---|---|
committer | Brandon Bayer <bbayer@multitech.com> | 2016-05-18 16:02:41 -0500 |
commit | 7d5bce8a0ca06d4c1178e837f107ac2771dd1df7 (patch) | |
tree | ffe9930d33e62fb6acac3de3093814017ab1c455 /src | |
parent | 1608c215dc576eb92dafc374c8151a373146cc76 (diff) | |
download | libmts-io-7d5bce8a0ca06d4c1178e837f107ac2771dd1df7.tar.gz libmts-io-7d5bce8a0ca06d4c1178e837f107ac2771dd1df7.tar.bz2 libmts-io-7d5bce8a0ca06d4c1178e837f107ac2771dd1df7.zip |
style: replace tabs with spaces
Diffstat (limited to 'src')
-rw-r--r-- | src/MTS_IO_CellularRadio.cpp | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/src/MTS_IO_CellularRadio.cpp b/src/MTS_IO_CellularRadio.cpp index 0ec7c05..c5b503d 100644 --- a/src/MTS_IO_CellularRadio.cpp +++ b/src/MTS_IO_CellularRadio.cpp @@ -1615,10 +1615,10 @@ const char *CellularRadio::RadioBandMap::getLTEBand(const int32_t channel) { for (unsigned int ii = 0; ii < NUM_LTE_BANDS; ii++) { - if (EULTRAband[ii].low <= channel && EULTRAband[ii].high >= channel) - { - return EULTRAband[ii].name; - } + if (EULTRAband[ii].low <= channel && EULTRAband[ii].high >= channel) + { + return EULTRAband[ii].name; + } } return VALUE_UNKNOWN.c_str(); } @@ -1627,10 +1627,10 @@ const char *CellularRadio::RadioBandMap::getCDMABand(const int channel) { for (unsigned int ii = 0; ii < NUM_WCDMA_BANDS; ii++) { - if (WCDMAband[ii].low <= channel && WCDMAband[ii].high >= channel) - { - return WCDMAband[ii].name; - } + if (WCDMAband[ii].low <= channel && WCDMAband[ii].high >= channel) + { + return WCDMAband[ii].name; + } } return VALUE_UNKNOWN.c_str(); } @@ -1639,10 +1639,10 @@ const char *CellularRadio::RadioBandMap::getGSMBand(const int channel) { for (unsigned int ii = 0; ii < NUM_GSM_BANDS; ii++) { - if (GSMband[ii].low <= channel && GSMband[ii].high >= channel) - { - return GSMband[ii].name; - } + if (GSMband[ii].low <= channel && GSMband[ii].high >= channel) + { + return GSMband[ii].name; + } } return VALUE_UNKNOWN.c_str(); } @@ -1661,7 +1661,7 @@ const char *CellularRadio::RadioBandMap::getRadioBandName() } else if (m_sRadioType == CellularRadio::VALUE_TYPE_GSM) { - band = getGSMBand(m_iChannel); + band = getGSMBand(m_iChannel); } return band; @@ -1669,8 +1669,8 @@ const char *CellularRadio::RadioBandMap::getRadioBandName() const char *CellularRadio::RadioBandMap::getRadioBandName(const std::string &channel, const std::string &radioType) { - const char *band = CellularRadio::VALUE_UNKNOWN.c_str(); - int32_t chan = strtol(channel.c_str(), NULL, 10); + const char *band = CellularRadio::VALUE_UNKNOWN.c_str(); + int32_t chan = strtol(channel.c_str(), NULL, 10); if (radioType == CellularRadio::VALUE_TYPE_LTE) { band = getLTEBand(chan); @@ -1681,8 +1681,8 @@ const char *CellularRadio::RadioBandMap::getRadioBandName(const std::string &cha } else if (radioType == CellularRadio::VALUE_TYPE_GSM) { - band = getGSMBand(chan); + band = getGSMBand(chan); } - return band; + return band; } |