Changeset 33 in svn for trunk/zasc/app_c/DST_DB.c
- Timestamp:
- Mar 25, 2015 6:14:42 PM (11 years ago)
- File:
-
- 1 edited
-
trunk/zasc/app_c/DST_DB.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/zasc/app_c/DST_DB.c
r29 r33 652 652 int DST_DB_IsExceptRF(int rf) 653 653 { 654 if (DST_EEPROM_Get FrequencySetting() == 0) return 0;654 if (DST_EEPROM_GetMinRF() == DST_MinRF() && DST_EEPROM_GetMaxRF() == DST_MaxRF()) return 0; 655 655 if (rf < DST_EEPROM_GetMinRF()) return 0; 656 656 if (rf > DST_EEPROM_GetMaxRF()) return 0; … … 661 661 int DST_DB_GetExceptRFCount() 662 662 { 663 if (DST_EEPROM_Get FrequencySetting() == 0) return 0;663 if (DST_EEPROM_GetMinRF() == DST_MinRF() && DST_EEPROM_GetMaxRF() == DST_MaxRF()) return 0; 664 664 return DST_EEPROM_GetMaxRF() - DST_EEPROM_GetMinRF() + 1; 665 665 } … … 675 675 { 676 676 int i=0; 677 if (DST_EEPROM_Get FrequencySetting() == 0)677 if (DST_EEPROM_GetMinRF() == DST_MinRF() && DST_EEPROM_GetMaxRF() == DST_MaxRF()) 678 678 { 679 679 return GetNextRF(rf);
Note: See TracChangeset
for help on using the changeset viewer.
