From 24d9fbffae06db94e1e706052b7a7219a587bed6 Mon Sep 17 00:00:00 2001 From: "Sergio R. Caprile" Date: Wed, 20 Dec 2023 14:49:25 -0300 Subject: [PATCH] fix MQTT device --- examples/stm32/nucleo-h723zg-make-baremetal-builtin/main.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/examples/stm32/nucleo-h723zg-make-baremetal-builtin/main.c b/examples/stm32/nucleo-h723zg-make-baremetal-builtin/main.c index d31afea5d4..93813c64f3 100644 --- a/examples/stm32/nucleo-h723zg-make-baremetal-builtin/main.c +++ b/examples/stm32/nucleo-h723zg-make-baremetal-builtin/main.c @@ -36,6 +36,10 @@ bool hal_gpio_read(int pin) { // For MQTT dashboard HAL int hal_led_pin(void) { return (int) LED1; } + +uint64_t mg_now(void) { + return mg_millis(); +} #endif static void timer_fn(void *arg) {