Skip to content

Commit

Permalink
modify rx windows time error
Browse files Browse the repository at this point in the history
  • Loading branch information
Heltec-Aaron-Lee committed Aug 3, 2022
1 parent 4a1bc6c commit 4dec4a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions cores/asr6601/base/Arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@
uint16_t makeWord(uint16_t w);
uint16_t makeWord(byte h, byte l);

#define nullptr NULL
#define word(...) makeWord(__VA_ARGS__)

uint32_t pulseIn(uint8_t pin_name,uint8_t mode,uint32_t timeout = 1000000);
Expand Down
2 changes: 1 addition & 1 deletion libraries/LoraWan102/src/loramac/LoRaMac.c
Original file line number Diff line number Diff line change
Expand Up @@ -3157,7 +3157,7 @@ LoRaMacStatus_t LoRaMacInitialization( LoRaMacPrimitives_t *primitives, LoRaMacC
// Init parameters which are not set in function ResetMacParameters
LoRaMacParams.RepeaterSupport = false;
LoRaMacParamsDefaults.ChannelsNbRep = 1;
LoRaMacParamsDefaults.SystemMaxRxError = 10;
LoRaMacParamsDefaults.SystemMaxRxError = 20;
LoRaMacParamsDefaults.MinRxSymbols = 6;

LoRaMacParams.SystemMaxRxError = LoRaMacParamsDefaults.SystemMaxRxError;
Expand Down

0 comments on commit 4dec4a2

Please sign in to comment.