File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
features/nanostack/nanostack-hal-mbed-cmsis-rtos Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 14
14
* See the License for the specific language governing permissions and
15
15
* limitations under the License.
16
16
*/
17
+
17
18
#include " ns_types.h"
18
19
#include " fhss_api.h"
19
20
#include " fhss_config.h"
@@ -70,7 +71,7 @@ static fhss_timeout_s *allocate_timeout(void)
70
71
{
71
72
for (int i = 0 ; i < NUMBER_OF_SIMULTANEOUS_TIMEOUTS; i++) {
72
73
if (fhss_timeout[i].fhss_timer_callback == NULL ) {
73
- memset (&fhss_timeout[i], sizeof (fhss_timeout_s), 0 );
74
+ memset (&fhss_timeout[i], 0 , sizeof (fhss_timeout_s));
74
75
return &fhss_timeout[i];
75
76
}
76
77
}
@@ -170,3 +171,4 @@ fhss_timer_t fhss_functions = {
170
171
.fhss_get_timestamp = platform_fhss_timestamp_read,
171
172
.fhss_resolution_divider = 1
172
173
};
174
+
Original file line number Diff line number Diff line change 19
19
20
20
#include "mbedtls/entropy_poll.h"
21
21
22
+ #ifdef MBEDTLS_ENTROPY_HARDWARE_ALT
23
+ #if defined(MBEDTLS_PLATFORM_C )
24
+ #include "mbedtls/platform.h"
25
+ #endif
26
+ #endif
27
+
22
28
void arm_random_module_init (void )
23
29
{
24
30
}
You can’t perform that action at this time.
0 commit comments