TS: pr_printTemplate(): send 'longFDcmd_set()'

This commit is contained in:
Siegfried Siegert 2023-05-03 13:19:01 +02:00
parent 1663d09d3a
commit 6478eda581
Signed by: SiegfriedSiegert
GPG Key ID: 68371E015E8F0B03

View File

@ -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