From d63d65b8941cefa2fab2ee4a3bf79ff146fc5604 Mon Sep 17 00:00:00 2001 From: schneider <schneider@blinkenlichts.net> Date: Sun, 30 Jul 2023 23:52:01 +0200 Subject: [PATCH] bmi270: clang-format --- components/flow3r_bsp/flow3r_bsp_imu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/flow3r_bsp/flow3r_bsp_imu.c b/components/flow3r_bsp/flow3r_bsp_imu.c index a14b1e4c73..2ede6a8b50 100644 --- a/components/flow3r_bsp/flow3r_bsp_imu.c +++ b/components/flow3r_bsp/flow3r_bsp_imu.c @@ -10,9 +10,9 @@ static const char *TAG = "flow3r-imu"; #include "freertos/FreeRTOS.h" #include "freertos/task.h" +#include <inttypes.h> #include <math.h> #include <string.h> -#include <inttypes.h> /*! Macro that defines read write length */ #define READ_WRITE_LEN 256 @@ -59,7 +59,7 @@ BMI2_INTF_RETURN_TYPE bmi2_i2c_write(uint8_t reg_addr, const uint8_t *reg_data, tx[0] = reg_addr; memcpy(tx + 1, reg_data, len); - ESP_LOGD(TAG, "bhi write to %02X / %02X %"PRIu32" bytes, %u total)", + ESP_LOGD(TAG, "bhi write to %02X / %02X %" PRIu32 " bytes, %u total)", imu->dev_addr, reg_addr, len, sizeof(tx)); esp_err_t ret = flow3r_bsp_i2c_write_to_device( imu->dev_addr, tx, sizeof(tx), TIMEOUT_MS / portTICK_PERIOD_MS); -- GitLab