nuttx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [incubator-nuttx] acassis commented on pull request #960: Improvements for STM32 ADC
Date Sun, 03 May 2020 17:39:34 GMT

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



Mime
View raw message