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/Utilities/Utils.c | |
| parent | 9d04bbb2b4a2eb2eb14cc813103c856b7bde975a (diff) | |
| download | Tango-cc4129c557405accb3ced68f7b6cb19dbdb87a24.tar.gz Tango-cc4129c557405accb3ced68f7b6cb19dbdb87a24.zip | |
Driver structures and prototypes
Diffstat (limited to 'Software/Embedded_SW/Embedded/Common/Utilities/Utils.c')
| -rw-r--r-- | Software/Embedded_SW/Embedded/Common/Utilities/Utils.c | 5 |
1 files changed, 4 insertions, 1 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) |
