diff options
| author | Shlomo Hecht <shlomo@twine-s.com> | 2018-08-30 17:20:06 +0300 |
|---|---|---|
| committer | Shlomo Hecht <shlomo@twine-s.com> | 2018-08-30 17:20:06 +0300 |
| commit | 62db371c2acc1564cc8bedbe2e355dd863d2bac4 (patch) | |
| tree | aa0f85fd52f8a29469236d77123e642d4ceca003 /Software/Embedded_SW/Embedded/Communication/CommunicationTask.h | |
| parent | 89136a907fcc2ab46ec332e71c1cb4dc478830a9 (diff) | |
| download | Tango-62db371c2acc1564cc8bedbe2e355dd863d2bac4.tar.gz Tango-62db371c2acc1564cc8bedbe2e355dd863d2bac4.zip | |
support fast communication (multiple Rx messages from PC). set dispenser homing microstep to 1
Diffstat (limited to 'Software/Embedded_SW/Embedded/Communication/CommunicationTask.h')
| -rw-r--r-- | Software/Embedded_SW/Embedded/Communication/CommunicationTask.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Software/Embedded_SW/Embedded/Communication/CommunicationTask.h b/Software/Embedded_SW/Embedded/Communication/CommunicationTask.h index 50309c899..27907ee07 100644 --- a/Software/Embedded_SW/Embedded/Communication/CommunicationTask.h +++ b/Software/Embedded_SW/Embedded/Communication/CommunicationTask.h @@ -13,13 +13,13 @@ void RegisterReceiveCallback(void (*callback_ptr)(char* buffer, size_t length)); uint32_t initArray( size_t initialSize); -void insertArray( char element); +void insertArray(uint32_t buffer, char element); -void freeArray(void); +void freeArray(uint32_t buffer); extern uint32_t CommunicationTaskInit(void); -extern uint32_t CommunicationTaskMessageReceived(uint16_t msgSize); +extern uint32_t CommunicationTaskMessageReceived(uint32_t buffer,uint16_t msgSize); extern bool CommunicationTaskSendMessage(char* buffer,size_t length); |
