jturnsek commented on code in PR #9325:
URL: https://github.com/apache/nuttx/pull/9325#discussion_r1198230286


##########
arch/arm/src/imxrt/imxrt_flexio.c:
##########
@@ -788,35 +788,43 @@ static uint32_t imxrt_flexio_get_shifter_buffer_address(
   switch (type)
     {
     case FLEXIO_SHIFTER_BUFFER:
-      address = (uint32_t)(IMXRT_FLEXIO_SHIFTBUF0_OFFSET + index * 0x4);

Review Comment:
   > The function description is inconsistent. One part states that the 
function returns the buffer address and another part that it returns the buffer 
index.
   
   Thanks. Fixed.
   
   



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