From 89630b1a5e2c8289e06aff2efcf43e23553b085d Mon Sep 17 00:00:00 2001 From: CPunch Date: Mon, 11 Apr 2022 12:56:42 -0500 Subject: [PATCH] Linked to Ansible-Playbook --- README.md | 6 +++++- lib/src/lpolllist.c | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a509f39..12446db 100644 --- a/README.md +++ b/README.md @@ -74,4 +74,8 @@ $ rm -rf build &&\ cmake --build build ``` -Output binaries are put in the `./bin` folder \ No newline at end of file +Output binaries are put in the `./bin` folder + +# Ansible-Playbook + +To setup a test VPS for a Laika CNC, check out [this ansible playbook](https://github.com/CPunch/Laika-Playbook). \ No newline at end of file diff --git a/lib/src/lpolllist.c b/lib/src/lpolllist.c index b54e089..a75bd0d 100644 --- a/lib/src/lpolllist.c +++ b/lib/src/lpolllist.c @@ -250,7 +250,7 @@ bool laikaP_handleEvent(struct sLaika_pollEvent *evnt) { /* sanity check */ if (evnt->sock->onPollIn == NULL || evnt->sock->onPollOut == NULL) - return result; + return true; LAIKA_TRY if (evnt->pollIn && !evnt->sock->onPollIn(evnt->sock))