diff options
| author | Shlomo Hecht <shlomo@twine-s.com> | 2018-03-19 12:08:17 +0200 |
|---|---|---|
| committer | Shlomo Hecht <shlomo@twine-s.com> | 2018-03-19 12:08:17 +0200 |
| commit | cc4129c557405accb3ced68f7b6cb19dbdb87a24 (patch) | |
| tree | f86827ef77a6ef6733805f8190bd961934543e5c /Software/Embedded_SW/Embedded/Common | |
| parent | 9d04bbb2b4a2eb2eb14cc813103c856b7bde975a (diff) | |
| download | Tango-cc4129c557405accb3ced68f7b6cb19dbdb87a24.tar.gz Tango-cc4129c557405accb3ced68f7b6cb19dbdb87a24.zip | |
Driver structures and prototypes
Diffstat (limited to 'Software/Embedded_SW/Embedded/Common')
| -rw-r--r-- | Software/Embedded_SW/Embedded/Common/Utilities/Utils.c | 5 | ||||
| -rw-r--r-- | Software/Embedded_SW/Embedded/Common/report/reportInit.c | 7 |
2 files changed, 5 insertions, 7 deletions
diff --git a/Software/Embedded_SW/Embedded/Common/Utilities/Utils.c b/Software/Embedded_SW/Embedded/Common/Utilities/Utils.c index e732d2d16..0a586d9cb 100644 --- a/Software/Embedded_SW/Embedded/Common/Utilities/Utils.c +++ b/Software/Embedded_SW/Embedded/Common/Utilities/Utils.c @@ -216,7 +216,8 @@ void cb_free(circular_buffer *cb) void cb_push_back(/*circular_buffer *cb,*/ const void *item, int size) { return; - if(cb.count == cb.capacity){ + /* + if(cb.count == cb.capacity){ return; // handle error } @@ -231,6 +232,8 @@ void cb_push_back(/*circular_buffer *cb,*/ const void *item, int size) cb.count++; // if (sendDataToHost) // SendMessageToHost(DEBUG_LOG,item); + + */ } void cb_pop_front(/*circular_buffer *cb,*/ void *item) diff --git a/Software/Embedded_SW/Embedded/Common/report/reportInit.c b/Software/Embedded_SW/Embedded/Common/report/reportInit.c index de1eaa06e..36fb94788 100644 --- a/Software/Embedded_SW/Embedded/Common/report/reportInit.c +++ b/Software/Embedded_SW/Embedded/Common/report/reportInit.c @@ -34,15 +34,10 @@ #include "PMR/common/MessageContainer.pb-c.h" #include "PMR/debugging/DebugLogRequest.pb-c.h" #include "PMR/debugging/DebugLogResponse.pb-c.h" -#include "Drivers/USB_Communication/USBCDCD.h" - +#include "drivers/twine_usblib/usb_serial_adapter.h" //#include "graphics_adapter.h" #include "Modules/Stubs_Handler/Container.h" -#include "Modules/thread/thread.h" - -MotorConfigStruc MotorsCfg[MAX_THREAD_MOTORS_NUM]; -InternalWinderConfigStruc InternalWinderCfg; char protobufToken[36] = {0}; /*void SendStatusResponse (uint32_t Code, char *Token) { |
