You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2026/10/15 07:38:04 UTC

(nuttx) 01/02: arch/xtensa/espressif: Fix the nxstyle error in esp_temperature_sensor.c.

This is an automated email from the ASF dual-hosted git repository.

xiaoxiang781216 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit 071b16885ed40d0ba19e30cba307189e905b7104
Author: Marco Casaroli <ma...@gmail.com>
AuthorDate: Thu Oct 15 06:57:08 2026 +0200

    arch/xtensa/espressif: Fix the nxstyle error in esp_temperature_sensor.c.
    
    Indent esp_temperature_sensor_disable() by six spaces, as the rest of
    the block.
    
    Assisted-by: Claude Code:claude-opus-5-5
    Signed-off-by: Marco Casaroli <ma...@gmail.com>
---
 arch/xtensa/src/common/espressif/esp_temperature_sensor.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/xtensa/src/common/espressif/esp_temperature_sensor.c b/arch/xtensa/src/common/espressif/esp_temperature_sensor.c
index ee34d532934..670cd204600 100644
--- a/arch/xtensa/src/common/espressif/esp_temperature_sensor.c
+++ b/arch/xtensa/src/common/espressif/esp_temperature_sensor.c
@@ -772,7 +772,7 @@ static int esp_temperature_sensor_activate(
     {
       /* Set suspend mode to sensors. */
 
-        esp_temperature_sensor_disable(priv);
+      esp_temperature_sensor_disable(priv);
     }
 
 #ifdef CONFIG_ESPRESSIF_TEMP_UORB_POLL