From 39bb4d802486e86cf534a18e781b267b048c293f Mon Sep 17 00:00:00 2001 From: Shlomo Hecht Date: Fri, 10 May 2019 12:00:21 +0300 Subject: File system errors reporting, alarm handling task resilience. --- Software/Embedded_SW/Embedded/Common/Utilities/Utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Software/Embedded_SW/Embedded/Common/Utilities') diff --git a/Software/Embedded_SW/Embedded/Common/Utilities/Utils.c b/Software/Embedded_SW/Embedded/Common/Utilities/Utils.c index 078aa5f53..341a43704 100644 --- a/Software/Embedded_SW/Embedded/Common/Utilities/Utils.c +++ b/Software/Embedded_SW/Embedded/Common/Utilities/Utils.c @@ -43,7 +43,7 @@ void *my_malloc(size_t _size) malloc_time[malloc_index] = msec_millisecondCounter; } */ - if (addr) + if ((addr)&&(_size>400)) { malloc_addr[malloc_index] = addr; malloc_size[malloc_index] = _size; -- cgit v1.3.1