Moved template functions to header to avoid linker errors

This commit is contained in:
2025-06-17 08:33:18 +02:00
parent 2f8ae23d57
commit 3d984f26bc
3 changed files with 203 additions and 207 deletions

View File

@@ -380,9 +380,17 @@ class epicsShareClass sinqController : public asynMotorController {
*/
int outstandingForcedFastPolls();
// Maximum error message buffer size. This is an empirical value which must
// be large enough to avoid overflows for all commands to the device /
// responses from it.
/**
* @brief Return the maximum error message buffer size
*
* This is an empirical value which must be large enough to avoid overflows
* for all commands to the device / responses from it.
*
* @return uint32_t
*/
uint32_t msgSize() { return MAXBUF_; }
// Maximum message size
static const uint32_t MAXBUF_ = 200;
// =========================================================================