From 47e04a5292a8868ca9c7063aba0e82a9c0f1f755 Mon Sep 17 00:00:00 2001 From: Thomas Schmucker Date: Mon, 4 Nov 2024 16:22:09 +0100 Subject: 'mqtt_run' nach 'mqtt_handle_messages' umbenannt --- src/mqtt.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/mqtt.c') diff --git a/src/mqtt.c b/src/mqtt.c index 34e7ee8..5a8bfc0 100644 --- a/src/mqtt.c +++ b/src/mqtt.c @@ -40,10 +40,10 @@ mqtt_connect(const char *clientid, // NOLINT } void -mqtt_run(struct mosquitto *client, - const char *topics[], - void callback(struct mosquitto *, void *, const struct mosquitto_message *), - const volatile bool *quit) +mqtt_handle_messages(struct mosquitto *client, + const char *topics[], + void callback(struct mosquitto *, void *, const struct mosquitto_message *), + const volatile bool *quit) { if ( callback ) { mosquitto_message_callback_set(client, callback); -- cgit v1.3