Changeset 43680
- Timestamp:
- 03/09/19 19:56:24 (5 years ago)
- Location:
- titan/titan
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/titan/frontenddev.h
r43676 r43680 945 945 { 946 946 int ret = 0; 947 int voltm = volt; 947 948 948 949 if(node == NULL) … … 952 953 } 953 954 955 //DVB-T setzt Volt auch beim tunen und da sollte node nicht geloescht werden (siehe voltm) 956 if(voltm == 99) 957 volt = SEC_VOLTAGE_OFF; 958 954 959 debug(200, "FE_SET_VOLT: %d (%s)", volt, node->feshortname); 955 960 if(ioctl(node->fd, FE_SET_VOLTAGE, volt) == -1) … … 963 968 if(wait > 0) usleep(wait * 1000); 964 969 965 if(volt == SEC_VOLTAGE_OFF && node->fetype != 2)970 if(volt == SEC_VOLTAGE_OFF && voltm != 99) 966 971 { 967 972 node->feakttransponder = NULL; … … 2085 2090 fesetvoltage(node, SEC_VOLTAGE_13, 10); 2086 2091 else 2087 fesetvoltage(node, SEC_VOLTAGE_OFF, 10); 2092 // fesetvoltage(node, SEC_VOLTAGE_OFF, 10); 2093 fesetvoltage(node, 99, 10); 2088 2094 free(tmpstr); tmpstr = NULL; 2089 2095 -
titan/titan/include/linux/dvb/frontend.h
r43002 r43680 107 107 SEC_VOLTAGE_13, 108 108 SEC_VOLTAGE_18, 109 SEC_VOLTAGE_OFF 109 SEC_VOLTAGE_OFF; 110 110 } fe_sec_voltage_t; 111 111
Note: See TracChangeset
for help on using the changeset viewer.