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

@@ -23,6 +23,11 @@
#ifndef __RTC_BOARD_H__
#define __RTC_BOARD_H__
#ifdef __cplusplus
extern "C"
{
#endif
#include <stdint.h>
#include <stdbool.h>
#include "timer.h"
@@ -30,22 +35,22 @@
/*!
* \brief Temperature coefficient of the clock source
*/
#define RTC_TEMP_COEFFICIENT ( -0.035 )
#define RTC_TEMP_COEFFICIENT ( -0.035f )
/*!
* \brief Temperature coefficient deviation of the clock source
*/
#define RTC_TEMP_DEV_COEFFICIENT ( 0.0035 )
#define RTC_TEMP_DEV_COEFFICIENT ( 0.0035f )
/*!
* \brief Turnover temperature of the clock source
*/
#define RTC_TEMP_TURNOVER ( 25.0 )
#define RTC_TEMP_TURNOVER ( 25.0f )
/*!
* \brief Turnover temperature deviation of the clock source
*/
#define RTC_TEMP_DEV_TURNOVER ( 5.0 )
#define RTC_TEMP_DEV_TURNOVER ( 5.0f )
/*!
* \brief Initializes the RTC timer
@@ -189,4 +194,8 @@ void RtcProcess( void );
*/
TimerTime_t RtcTempCompensation( TimerTime_t period, float temperature );
#ifdef __cplusplus
}
#endif
#endif // __RTC_BOARD_H__