Update LoRaMac-node to Version 4.4.4,fix Security breach found by Tencent Blade Team please refer to security advisory - CVE-2020-11068

fix Security breach found by Tencent Blade Team please refer to security advisory - CVE-2020-11068
This commit is contained in:
supowang
2020-05-29 11:59:05 +08:00
parent 5d9895cecc
commit f9bd2588a2
137 changed files with 10401 additions and 4328 deletions

View File

@@ -44,14 +44,14 @@ void SX1509Init( void )
uint8_t SX1509Reset( )
{
if( SX1509Write( RegReset, 0x12 ) == LORA_SUCCESS )
if( SX1509Write( RegReset, 0x12 ) == SUCCESS )
{
if( SX1509Write( RegReset, 0x34 ) == LORA_SUCCESS )
if( SX1509Write( RegReset, 0x34 ) == SUCCESS )
{
return LORA_SUCCESS;
return SUCCESS;
}
}
return LORA_FAIL;
return FAIL;
}
uint8_t SX1509Write( uint8_t addr, uint8_t data )