Skip to content

loop_forever() -> loop() - #2

Open
felixsteghofer wants to merge 2 commits into
ljakob:mainfrom
felixsteghofer:main
Open

loop_forever() -> loop()#2
felixsteghofer wants to merge 2 commits into
ljakob:mainfrom
felixsteghofer:main

Conversation

@felixsteghofer

Copy link
Copy Markdown

Hi again,

little fix to get the mqtt bridge running.

Best

@ljakob

ljakob commented Dec 20, 2021

Copy link
Copy Markdown
Owner

Hi,
could you please tell the motivation why to switch from loop_forever to loop? The code for the bridge was copied from a local project of mine that works for ages. The idea is to let the library call loop_forvever (with reconnect handling) and handle the automatic measurements in the overriden loop.
Cheers
Leif

@felixsteghofer

Copy link
Copy Markdown
Author

Hi, sry for the delay. Your library actually used loop so. I did not change anything semantically. Just to get the default mqtt example running :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants