Fixed clang format.

This commit is contained in:
Ole Odendahl 2023-05-31 12:47:40 +02:00
parent c52d5f7a48
commit 6f10dc9e19
No known key found for this signature in database
GPG key ID: 116D1FA8CD50CD0B
3 changed files with 9 additions and 9 deletions

View file

@ -141,8 +141,8 @@ void zboss_signal_handler(zb_bufid_t bufid) {
LOG_DBG("Steering failed. Status: %d", status);
prst_led_flash(7);
k_timer_start(&restart_timer, K_SECONDS(PRST_ZB_RESET_TIMEOUT), K_MSEC(0));
k_timer_stop(&led_flashing_timer); // Power saving
prst_led_off();
k_timer_stop(&led_flashing_timer); // Power saving
prst_led_off();
}
}
case ZB_BDB_SIGNAL_DEVICE_FIRST_START:

View file

@ -1,14 +1,14 @@
#include <zephyr/logging/log.h>
#include <zephyr/kernel.h>
#include <zigbee/zigbee_app_utils.h>
#include "restart_handler.h"
#include <zephyr/kernel.h>
#include <zephyr/logging/log.h>
#include <zigbee/zigbee_app_utils.h>
LOG_MODULE_REGISTER(restart_handler, CONFIG_LOG_DEFAULT_LEVEL);
static void restart_network_steering_cb(struct k_timer *timer) {
LOG_DBG("Restart handler expired. Restarting network steering.");
user_input_indicate();
LOG_DBG("Restart handler expired. Restarting network steering.");
user_input_indicate();
}
K_TIMER_DEFINE(restart_timer, restart_network_steering_cb, NULL);

View file

@ -3,4 +3,4 @@
static const int PRST_ZB_RESET_TIMEOUT = 5 * 60;
#endif // _PRST_ZB_RESTART_HANDLER_H_
#endif // _PRST_ZB_RESTART_HANDLER_H_