unit_ut61eplus icon indicating copy to clipboard operation
unit_ut61eplus copied to clipboard

loop_forever() -> loop()

Open felixsteghofer opened this issue 3 years ago • 2 comments

Hi again,

little fix to get the mqtt bridge running.

Best

felixsteghofer avatar Dec 18 '21 22:12 felixsteghofer

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

ljakob avatar Dec 20 '21 12:12 ljakob

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 :)

felixsteghofer avatar Dec 28 '21 17:12 felixsteghofer