diff --git a/src/hwapi.cpp b/src/hwapi.cpp index 33d5f04..879967c 100644 --- a/src/hwapi.cpp +++ b/src/hwapi.cpp @@ -3501,12 +3501,17 @@ bool hwapi::prn_sendDynamicPrnValues(uint8_t *dynPrnVal ) const } + bool hwapi::prn_printTemplate(uint8_t nrOftemplate) const // print one of the templates loaded by Json prior // nr = 1..32 { // return true if sending, false if cmd-stack is full - return sendFDcmd_set(152, 0,0, nrOftemplate,0,0,0); + + // 3.5.23: die dynVals und alle templates sollen am stück gesendet + uint8_t data[64]; + data[0]=nrOftemplate; + return longFDcmd_set(152, 0,0, 1, data); } void hwapi::log_getHoldAccountNumbers(uint8_t *nrOfVals, uint16_t *accNr ) const