meier/pcduhandler #10

Merged
muellerr merged 40 commits from meier/pcduhandler into develop 2020-12-29 12:35:44 +01:00
2 changed files with 3 additions and 3 deletions
Showing only changes of commit b8dd7b74cd - Show all commits

View File

@ -122,11 +122,10 @@ ReturnValue_t P60DockComIF::readReceivedMessage(CookieIF *cookie,
case(P60DockCookie::READ_HK):{
uint32_t timeout = 1000;
uint8_t p60dockAddress = p60DockCookie->getCspAddress();
gs_param_table_instance_t tmData;
tmData.rows = (gs_param_table_row_t*)p60dock_hk;
tmData.id = tmTableNum;
tmData.row_count = p60dock_hk_count;
tmData.memory_size = tmTableSize;
tmData.memory_size = P60DOCK_HK_SIZE;
tmData.memory = replyBuffer;
/* Read complete module configuration table from P60 Dock and store data
* in buffer */

View File

@ -51,7 +51,8 @@ private:
unsigned int moduleConfigTableRows = 32;
uint8_t moduleCfgTableSize = 188;
uint8_t tmTableSize = 188;
uint8_t replyBuffer[P60DockComIF::maxReplyLength];
uint8_t replyBuffer[188];
gs_param_table_instance_t tmData;
};