From 0c26cd0723167a9a0f849cd269d2ab2499d08ab6 Mon Sep 17 00:00:00 2001 From: Damjan Adamic Date: Thu, 13 Oct 2016 16:10:04 +0200 Subject: [PATCH] Fixes #3841: simulator EEPROM thread was not created in Release build --- radio/src/targets/simu/simueeprom.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radio/src/targets/simu/simueeprom.cpp b/radio/src/targets/simu/simueeprom.cpp index d91eff77a..bd6845fa0 100644 --- a/radio/src/targets/simu/simueeprom.cpp +++ b/radio/src/targets/simu/simueeprom.cpp @@ -158,7 +158,7 @@ void StartEepromThread(const char * filename) #endif eeprom_thread_running = true; - assert(!pthread_create(&eeprom_thread_pid, NULL, &eeprom_thread_function, NULL)); + pthread_create(&eeprom_thread_pid, NULL, &eeprom_thread_function, NULL); } void StopEepromThread()