diff options
| author | Shlomo Hecht <shlomo@twine-s.com> | 2018-07-26 16:34:16 +0300 |
|---|---|---|
| committer | Shlomo Hecht <shlomo@twine-s.com> | 2018-07-26 16:34:16 +0300 |
| commit | 5accee4df85cc47b5700ad32090451ded2a121fa (patch) | |
| tree | 11dc6229de126d5c9fc8135bfeacd88151e6ed77 /Software/Embedded_SW/Embedded/Communication/Container.c | |
| parent | 4ff8fc0265f11be7b73548e36c7ee3d1debfb8e4 (diff) | |
| download | Tango-5accee4df85cc47b5700ad32090451ded2a121fa.tar.gz Tango-5accee4df85cc47b5700ad32090451ded2a121fa.zip | |
warning removed. diagnostics stops when the commtx mailbox is full.
Diffstat (limited to 'Software/Embedded_SW/Embedded/Communication/Container.c')
| -rw-r--r-- | Software/Embedded_SW/Embedded/Communication/Container.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Software/Embedded_SW/Embedded/Communication/Container.c b/Software/Embedded_SW/Embedded/Communication/Container.c index 60e972968..5cecd48f0 100644 --- a/Software/Embedded_SW/Embedded/Communication/Container.c +++ b/Software/Embedded_SW/Embedded/Communication/Container.c @@ -32,12 +32,13 @@ #include "Modules/General/GeneralHardware.h" #include "Modules/heaters/heaters_ex.h" #include "Modules/AlarmHandling/AlarmHandling.h" -//#include "Drivers/USB_Communication/USBCDCD.h" +#include "modules/AlarmHandling/Diagnostics.h" +#include "Modules/General/process.h" +#include "Modules/Thread/Thread_ex.h" + #include "Communication/CommunicationTask.h" #include "StateMachines/Printing/PrintingSTM.h" -#include "Modules/General/process.h" -#include "Modules/Thread/Thread_ex.h" #include "Common/report/report.h" #include "Connection.h" @@ -274,7 +275,7 @@ void receive_callback(char* buffer, size_t length) message_container__free_unpacked(requestContainer, NULL); } -uint32_t SendChars(char* buffer,size_t length) +bool SendChars(char* buffer,size_t length) { return CommunicationTaskSendMessage(buffer, length); } |
