File tree 2 files changed +3
-3
lines changed
micropython/lora/lora-sx127x
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -416,13 +416,13 @@ def configure(self, lora_cfg):
416
416
modem_config1 |= (self ._coding_rate - 4 ) << _MODEM_CONFIG1_CODING_RATE_SHIFT
417
417
update_mask |= _MODEM_CONFIG1_CODING_RATE_MASK << _MODEM_CONFIG1_CODING_RATE_SHIFT
418
418
419
- self ._reg_update (_REG_MODEM_CONFIG1 , update_mask , modem_config1 )
420
-
421
419
if "implicit_header" in lora_cfg :
422
420
self ._implicit_header = lora_cfg ["implicit_header" ]
423
421
modem_config1 |= _flag (_MODEM_CONFIG1_IMPLICIT_HEADER_MODE_ON , self ._implicit_header )
424
422
update_mask |= _MODEM_CONFIG1_IMPLICIT_HEADER_MODE_ON
425
423
424
+ self ._reg_update (_REG_MODEM_CONFIG1 , update_mask , modem_config1 )
425
+
426
426
# Update MODEM_CONFIG2, for any fields that changed
427
427
modem_config2 = 0
428
428
update_mask = 0
Original file line number Diff line number Diff line change 1
- metadata (version = "0.1.1 " )
1
+ metadata (version = "0.1.2 " )
2
2
require ("lora" )
3
3
package ("lora" )
You can’t perform that action at this time.
0 commit comments