kopia lustrzana https://github.com/projecthorus/radiosonde_auto_rx
Fix issues with RS41 subtypes.
rodzic
bc193b1314
commit
8fcd382405
|
@ -17,7 +17,7 @@ except ImportError:
|
|||
# MINOR - New sonde type support, other fairly big changes that may result in telemetry or config file incompatability issus.
|
||||
# PATCH - Small changes, or minor feature additions.
|
||||
|
||||
__version__ = "1.3.0-beta1"
|
||||
__version__ = "1.3.0-beta2"
|
||||
|
||||
|
||||
# Global Variables
|
||||
|
|
|
@ -795,7 +795,7 @@ class SondeDecoder(object):
|
|||
|
||||
# Add in the sonde type field.
|
||||
if 'subtype' in _telemetry:
|
||||
if self.sonde_freq == 'RS41':
|
||||
if self.sonde_type == 'RS41':
|
||||
# For RS41 sondes, we are provided with a more specific subtype string (RS41-SG, RS41-SGP, RS41-SGM)
|
||||
# in the subtype field, so we can use this directly.
|
||||
_telemetry['type'] = _telemetry['subtype']
|
||||
|
|
Ładowanie…
Reference in New Issue