From 1418f886eb5c04913923daaf89c36b85daea59b9 Mon Sep 17 00:00:00 2001 From: Wangjialin Date: Tue, 8 Nov 2016 14:19:31 +0800 Subject: [PATCH] Only fix rmt_mem_t struct definition error. --- components/esp32/include/soc/rmt_struct.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/components/esp32/include/soc/rmt_struct.h b/components/esp32/include/soc/rmt_struct.h index fb4c21055..511fefa26 100644 --- a/components/esp32/include/soc/rmt_struct.h +++ b/components/esp32/include/soc/rmt_struct.h @@ -231,11 +231,10 @@ typedef volatile struct { struct { union { struct { - uint32_t level1: 1; - uint32_t duration1: 15; - uint32_t level0: 1; uint32_t duration0: 15; - + uint32_t level0: 1; + uint32_t duration1: 15; + uint32_t level1: 1; }; uint32_t val; } data[64];