Skip to content

Commit

Permalink
Merge pull request #74 from nsc2001/Sylcin-BMS
Browse files Browse the repository at this point in the history
Bugfix - Timing bei mehreren Sylcin BMS
  • Loading branch information
shining-man authored Feb 2, 2024
2 parents e9cee8f + 0f96729 commit fa46685
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/devices/SylcinBms.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ bool SylcinBms_readBmsData(Stream *port, uint8_t devNr, void (*callback)(uint8_t
BSC_LOGI(TAG,"SylcinBms_readBmsData() devNr=%i, readFromAdr=%i, BmsDataAdr=%i, CountOfPacks=%i, Packs=%i",u8_mDevNr,u8_lSylcinAdr,u8_lSylcinAdrBmsData,u8_mCountOfPacks,devData->u8_addData);
#endif

// Kleine Pause zwischen den Packs
if(u8_lSylcinAdr>1)vTaskDelay(pdMS_TO_TICKS(50));

getDataFromBms(u8_lSylcinAdr, 0x42);
if(recvAnswer(response))
{
Expand Down

0 comments on commit fa46685

Please sign in to comment.