arch/xtensa/esp32: Fix SENS_TOUCH_XPD_WAIT definition

This commit is contained in:
Lucas Saavedra Vaz 2023-01-23 09:40:05 -03:00 committed by Alan Carvalho de Assis
parent 3c6b844fcd
commit 07fd4b564d

View File

@ -266,10 +266,10 @@
/* SENS_TOUCH_XPD_WAIT : R/W; bitpos: [23:16]; default: 4; */
#define SENS_TOUCH_XPD_WAIT 0x00000007
#define SENS_TOUCH_XPD_WAIT 0x000000ff
#define SENS_TOUCH_XPD_WAIT_M (SENS_TOUCH_XPD_WAIT_V << \
SENS_TOUCH_XPD_WAIT_S)
#define SENS_TOUCH_XPD_WAIT_V 0x7
#define SENS_TOUCH_XPD_WAIT_V 0xff
#define SENS_TOUCH_XPD_WAIT_S 16
/* SENS_TOUCH_MEAS_DELAY : R/W; bitpos: [15:0]; default: 0x1000; */