Changeset 22 in svn for trunk/zasc/app_c/DST_DB.c


Ignore:
Timestamp:
Mar 25, 2015 4:21:28 PM (11 years ago)
Author:
megakiss
Message:

금강방송 OTC 651MHz 930(0x3A2) 931(0x3A3)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/zasc/app_c/DST_DB.c

    r2 r22  
    647647        return false; 
    648648} 
     649 
     650// Á֯ļö ¼³Á¤¿¡¼­ Á¦¿ÜµÈ ä³ÎÀÎÁö? 
     651// ÀԷ°ªÀº rfÀÇ index °ªÀÌ´Ù 
     652bool DST_DB_IsExceptRF(int rf) 
     653{ 
     654        if (DST_EEPROM_GetFrequencySetting() == 0) return false; 
     655        if (rf < DST_EEPROM_GetMinRF()) return false; 
     656        if (rf > DST_EEPROM_GetMaxRF()) return false; 
     657        return true; 
     658} 
     659 
     660// ¸î°³ÀÇ Ã¤³ÎÀÌ Á¦¿ÜµÇ¾ú´ÂÁö? 
     661int DST_DB_GetExceptRFCount() 
     662{ 
     663        if (DST_EEPROM_GetFrequencySetting() == 0) return 0; 
     664        return DST_EEPROM_GetMaxRF() - DST_EEPROM_GetMinRF() + 1; 
     665} 
     666 
     667// Á¦¿ÜµÇÁö ¾ÊÀº ´ÙÀ½ RFÀÇ index°ªÀ» °¡Á®¿Â´Ù 
     668int DST_DB_GetNextUnexceptRF(int rf) 
     669{ 
     670        if (DST_EEPROM_GetFrequencySetting() == 0) return 0; 
     671        return DST_EEPROM_GetMaxRF() - DST_EEPROM_GetMinRF() + 1; 
     672} 
Note: See TracChangeset for help on using the changeset viewer.