From 0279bfbcabc5e39b65f3cc978fefd1d8c6b46eef Mon Sep 17 00:00:00 2001 From: Simon From Jakobsen Date: Thu, 4 Jan 2024 11:10:07 +0100 Subject: [PATCH] Correct return value documentation --- docs/api.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/api.md b/docs/api.md index 76097f3..0948ead 100644 --- a/docs/api.md +++ b/docs/api.md @@ -730,14 +730,14 @@ Poll for requests #### Syntax ``` -virtual void poll() = 0; +virtual int poll() = 0; ``` #### Parameters None #### Returns -nothing +1 on request, 0 on no request ### `modbusServer.end()`