raiden00pl commented on code in PR #17011: URL: https://github.com/apache/nuttx/pull/17011#discussion_r2348194369
########## include/nuttx/arch.h: ########## @@ -99,6 +99,18 @@ #define DEBUGPOINT_BREAKPOINT 0x04 #define DEBUGPOINT_STEPPOINT 0x05 +/* Ensure that LOOPSPERMSEC is not the default, invalid value. If it is, let + * the user know that they need to change it and then calibrate it. + */ + +static_assert( Review Comment: it looks like nuttx is already dealing with static_assert in a portable way: https://github.com/apache/nuttx/blob/71f558765c7d53d0dad001cd1617d7f6ecf23c8c/include/assert.h#L135-L147 so it's not a problem :) -- 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]
