xiaoxiang781216 commented on code in PR #6965:
URL: https://github.com/apache/incubator-nuttx/pull/6965#discussion_r988533158


##########
boards/arm/stm32/mikroe-stm32f4/src/stm32_mio283qt2.c:
##########
@@ -274,9 +274,9 @@ static void stm32_index(struct mio283qt2_lcd_s *dev, 
uint8_t index)
 static uint16_t stm32_read(struct mio283qt2_lcd_s *dev)
 {
   struct stm32f4_dev_s *priv = (struct stm32f4_dev_s *)dev;
-  uint32_t  * volatile portsetreset = (uint32_t *) STM32_GPIOE_BSRR;
-  uint32_t  * volatile portmode = (uint32_t *) STM32_GPIOE_MODER;
-  uint32_t  * volatile portinput = (uint32_t *) STM32_GPIOE_IDR;
+  uint32_t  * volatile portsetreset = (uint32_t *)STM32_GPIOE_BSRR;
+  uint32_t  * volatile portmode = (uint32_t *)STM32_GPIOE_MODER;
+  uint32_t  * volatile portinput = (uint32_t *)STM32_GPIOE_IDR;

Review Comment:
   Done.



##########
boards/arm/stm32/mikroe-stm32f4/src/stm32_mio283qt2.c:
##########
@@ -166,7 +166,7 @@ static void stm32_tinydelay(void)
 
 static inline void stm32_command(void)
 {
-  uint32_t  * volatile portsetreset = (uint32_t *) STM32_GPIOE_BSRR;
+  uint32_t  * volatile portsetreset = (uint32_t *)STM32_GPIOE_BSRR;

Review Comment:
   Done.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to