kopia lustrzana https://github.com/Hamlib/Hamlib
Change TEMP_METER to centigrade scale
rodzic
6ad3440341
commit
c8faa7a915
|
@ -904,7 +904,7 @@ enum meter_level_e {
|
|||
RIG_METER_DB = (1 << 4), /*< DB */
|
||||
RIG_METER_PO = (1 << 5), /*< Power Out */
|
||||
RIG_METER_VDD = (1 << 6), /*< Final Amp Voltage */
|
||||
RIG_METER_TEMP = (1 << 7) /*< Final Amp Voltage */
|
||||
RIG_METER_TEMP = (1 << 7) /*< Final Amp Temperature */
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -5501,7 +5501,8 @@ int newcat_get_level(RIG *rig, vfo_t vfo, setting_t level, value_t *val)
|
|||
break;
|
||||
|
||||
case RIG_LEVEL_TEMP_METER:
|
||||
val->f = (float)(atoi(retlvl) / 255.);
|
||||
// return value in centigrade
|
||||
val->f = (float)(atoi(retlvl) / 255. * 100.);
|
||||
break;
|
||||
|
||||
default:
|
||||
|
|
Ładowanie…
Reference in New Issue