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/03 17:39:34 UTC

[GitHub] [incubator-nuttx] acassis commented on pull request #960: Improvements for STM32 ADC

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


   Hi Mateusz,
   It is reporting some a compilation error:
   chip/stm32_adc.c:656:20: error: initialization of 'void (*)(struct stm32_adc_dev_s *, uint32_t)' {aka 'void (*)(struct stm32_adc_dev_s *, unsigned int)'} from incompatible pointer type 'int (*)(struct stm32_dev_s *, uint32_t)' {aka 'int (*)(struct stm32_dev_s *, unsigned int)'} [-Werror=incompatible-pointer-types]
     656 |   .jextcfg_set   = adc_jextcfg_set,
         |                    ^~~~~~~~~~~~~~~
   chip/stm32_adc.c:656:20: note: (near initialization for 'g_adc_llops.jextcfg_set')
   chip/stm32_adc.c: In function 'adc_llops_setup':
   chip/stm32_adc.c:4140:1: error: no return statement in function returning non-void [-Werror=return-type]


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