Ok, I can reproduce, let me try and figure this out.
Qt 4.8 released
Started by Kenn Sebesta, Dec 15 2011 02:49 PM
47 replies to this topic
#41
Posted 12 May 2012 - 11:26 AM
Life is just a game, but atleast the graphics are awesome!
#42
Posted 12 May 2012 - 11:54 AM
pushing fix
Life is just a game, but atleast the graphics are awesome!
#44
Posted 12 May 2012 - 12:10 PM
Got a new error this time:
12-May-2012 14:01:05 ../../PiOS/STM32F4xx/pios_adc.c:212:6: error: conflicting types for 'PIOS_ADC_Init' 12-May-2012 14:01:05 ../../PiOS/inc/pios_adc_priv.h:46:9: note: previous declaration of 'PIOS_ADC_Init' was here 12-May-2012 14:01:05 make[1]: *** [/usr/local/bamboo-home/xml-data/build-dir/OP-PIPXNXTBL-JOB1/build/bl_revolution/pios_adc.o] Error 1 12-May-2012 14:01:05 make: *** [bl_revolution_bin] Error 2
#45
Posted 12 May 2012 - 12:50 PM
Hayvosh, on 12 May 2012 - 12:10 PM, said:
Got a new error this time:
12-May-2012 14:01:05 ../../PiOS/STM32F4xx/pios_adc.c:212:6: error: conflicting types for 'PIOS_ADC_Init' 12-May-2012 14:01:05 ../../PiOS/inc/pios_adc_priv.h:46:9: note: previous declaration of 'PIOS_ADC_Init' was here 12-May-2012 14:01:05 make[1]: *** [/usr/local/bamboo-home/xml-data/build-dir/OP-PIPXNXTBL-JOB1/build/bl_revolution/pios_adc.o] Error 1 12-May-2012 14:01:05 make: *** [bl_revolution_bin] Error 2
void PIOS_ADC_Init()
{
#if defined(PIOS_INCLUDE_ADC)
init_pins();
init_dma();
init_timer();
init_adc();
#endif
}
to:
#if defined(PIOS_INCLUDE_ADC)
void PIOS_ADC_Init()
{
init_pins();
init_dma();
init_timer();
init_adc();
}
#endif
I won't push that change since it touches PIOS, also I find it strange that the makefile calls library.mk which in turn compiles all F4 hw files even if most of them aren't needed.
Life is just a game, but atleast the graphics are awesome!
#46
Posted 12 May 2012 - 01:19 PM
-- edited and moved
#47
Posted 12 May 2012 - 01:27 PM
those are all flight related, we are in a Qt and GCS thread.
Life is just a game, but atleast the graphics are awesome!
#48
Posted 12 May 2012 - 01:32 PM
Ah ok, I dont know much about coding but I'll move it.


Portugal
Sweden







