Fix nuttx coding style

Remove TABs
Fix indentation
This commit is contained in:
simbit18
2023-07-11 14:36:33 +02:00
committed by Xiang Xiao
parent 2529f371ee
commit 9681c52517
20 changed files with 217 additions and 217 deletions
+2 -2
View File
@@ -199,9 +199,9 @@
/* Register 0x7e - CMD */
#define ACCEL_PM_SUSPEND (0X10)
#define ACCEL_PM_SUSPEND (0X10)
#define ACCEL_PM_NORMAL (0x11)
#define ACCEL_PM_LOWPOWER (0X12)
#define ACCEL_PM_LOWPOWER (0X12)
#define GYRO_PM_SUSPEND (0x14)
#define GYRO_PM_NORMAL (0x15)
#define GYRO_PM_FASTSTARTUP (0x17)
+8 -8
View File
@@ -184,20 +184,20 @@
/* Register 0x7d - PWR_CONF */
#define PWRCONF_APS_ON (1 << 0)
#define PWRCONF_FSW_ON (1 << 1)
#define PWRCONF_FUP_ON (1 << 2)
#define PWRCONF_APS_ON (1 << 0)
#define PWRCONF_FSW_ON (1 << 1)
#define PWRCONF_FUP_ON (1 << 2)
/* Register 0x7d - PWR_CTRL */
#define PWRCTRL_AUX_EN (1 << 0)
#define PWRCTRL_GYR_EN (1 << 1)
#define PWRCTRL_ACC_EN (1 << 2)
#define PWRCTRL_TEMP_EN (1 << 3)
#define PWRCTRL_AUX_EN (1 << 0)
#define PWRCTRL_GYR_EN (1 << 1)
#define PWRCTRL_ACC_EN (1 << 2)
#define PWRCTRL_TEMP_EN (1 << 3)
/* Register 0x7e - CMD */
#define CMD_SOFTRESET (0xB6)
#define CMD_SOFTRESET (0xB6)
/****************************************************************************
* Private Types