acassis commented on pull request #3780:
URL: https://github.com/apache/incubator-nuttx/pull/3780#issuecomment-847971293


   Hi @govindsi it is reporting too many blank lines in your file:
   
   Error: nuttx/arch/risc-v/src/k210/k210_gpiohs.c:74:1: error: Too many blank 
lines.
   
   Also there are some issues in the files:
   
   
   chip/k210_gpiohs.c: In function 'k210_gpiohs_set_direction':
   Error: chip/k210_gpiohs.c:62:7: error: 'gpio' undeclared (first use in this 
function); did you mean 'io'?
      if (gpio >= K210_NGPIOHS)
          ^~~~
          io
   chip/k210_gpiohs.c:62:7: note: each undeclared identifier is reported only 
once for each function it appears in
   chip/k210_gpiohs.c: In function 'k210_gpiohs_set_value':
   Error: chip/k210_gpiohs.c:75:7: error: 'gpio' undeclared (first use in this 
function); did you mean 'io'?
      if (gpio >= K210_NGPIOHS)
          ^~~~
          io
   chip/k210_gpiohs.c: In function 'k210_gpiohs_get_value':
   Error: chip/k210_gpiohs.c:85:3: error: implicit declaration of function 
'DEBUGASSERT' [-Werror=implicit-function-declaration]
      DEBUGASSERT(io >= 0 && pin <= K210_NGPIOHS);
      ^~~~~~~~~~~
   Error: chip/k210_gpiohs.c:85:26: error: 'pin' undeclared (first use in this 
function)
      DEBUGASSERT(io >= 0 && pin <= K210_NGPIOHS);
                             ^~~
   
   Probably you forgot to include debug.h thank you!


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


Reply via email to