You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2020/05/05 10:51:31 UTC

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on pull request #969: Refine the nuttx internal function

xiaoxiang781216 commented on pull request #969:
URL: https://github.com/apache/incubator-nuttx/pull/969#issuecomment-623985040


   The macro used by apps is changed to upper case, need work with apache/incubator-nuttx-apps#228:
   ```
   nrf24l01_term.c: In function 'wireless_cfg':
   nrf24l01_term.c:122:34: error: 'RATE_1Mbps' undeclared (first use in this function); did you mean 'RATE_1MBPS'?
     122 |   nrf24l01_datarate_t datarate = RATE_1Mbps;
         |                                  ^~~~~~~~~~
         |                                  RATE_1MBPS
   nrf24l01_term.c:122:34: note: each undeclared identifier is reported only once for each function it appears in
   nrf24l01_term.c:127:14: error: 'DELAY_1000us' undeclared (first use in this function); did you mean 'DELAY_1000US'?
     127 |     .delay = DELAY_1000us
         |              ^~~~~~~~~~~~
         |              DELAY_1000US
   ```


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

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