raiden00pl commented on issue #15838:
URL: https://github.com/apache/nuttx/issues/15838#issuecomment-5407887095

   its already fixed:
   
   ```
    53 void foo(void)
    54 {
    55   switch (1)
    56     {
    57       case 0: gpio_regs = (max32690_gpio_regs_t *)MAX326_GPIO0_BASE;
    58         break;
    59       case 1: gpio_regs = (max32690_gpio_regs_t *)MAX326_GPIO1_BASE;
    60         break;
    61       case 2: gpio_regs = (max32690_gpio_regs_t *)MAX326_GPIO2_BASE;
    62         break;
    63       case 3: gpio_regs = (max32690_gpio_regs_t *)MAX326_GPIO3_BASE;
    64         break;
    65     }
    66 }
   
   ```
   
   
   ```
   /home/raiden00/git/RTOS/nuttx/nuttx-nxstyle-fixes/test.c:57:12: error: Case 
statement should be on a new line
   /home/raiden00/git/RTOS/nuttx/nuttx-nxstyle-fixes/test.c:59:12: error: Case 
statement should be on a new line
   /home/raiden00/git/RTOS/nuttx/nuttx-nxstyle-fixes/test.c:61:12: error: Case 
statement should be on a new line
   /home/raiden00/git/RTOS/nuttx/nuttx-nxstyle-fixes/test.c:63:12: error: Case 
statement should be on a new line
   
   ```


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to