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

   it works for global variables but it doesn't work for function local 
variables: 
   
   
   ```
   /****************************************************************************
    * Private Data
    
****************************************************************************/
   
   
   const uint8_t g_xxx[] = {    ///////////// detected correctly
     0x00
   };
   
   /****************************************************************************
    * Public Functions
    
****************************************************************************/
   
   void foo(void)
   {
     int i;
   
     const uint8_t xxx[] = {   //////////////////// not detected
       0x00, 0x00, 0x00, 0x00
     };
   
     return;
   }
   
   
   ```


-- 
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