xiaoxiang781216 commented on code in PR #13002:
URL: https://github.com/apache/nuttx/pull/13002#discussion_r1726985056
##########
drivers/audio/es8388.c:
##########
@@ -828,11 +830,11 @@ static int es8388_getcaps(FAR struct audio_lowerhalf_s
*dev, int type,
/* 8kHz is hardware dependent */
- caps->ac_controls.b[0] =
+ ptr = (uint16_t *)caps->ac_controls.b;
Review Comment:
let's change to caps->ac_controls.hw[0] =
--
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]