paparazzi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Paparazzi-devel] Possible typo in electrical.c


From: Chris
Subject: [Paparazzi-devel] Possible typo in electrical.c
Date: Tue, 09 Jul 2013 20:52:56 +0300
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130623 Thunderbird/17.0.7

Hi.
I just got an error while compiling for the sim:
CC /home/hendrix/paparazzi/var/X8/sim/subsystems/electrical.o
subsystems/electrical.c: In function 'electrical_init':
subsystems/electrical.c:59:19: error: 'ADC_1' undeclared (first use in this function) subsystems/electrical.c:59:19: note: each undeclared identifier is reported only once for each function it appears in make[1]: *** [/home/hendrix/paparazzi/var/X8/sim/subsystems/electrical.o] Error 1
make[1]: Leaving directory `/home/hendrix/paparazzi/sw/airborne'
make: *** [sim.compile] Error 2

which looks like line 58 should be
#if defined ADC_CHANNEL_CURRENT  && !defined(SITL)
instead of:
#if defined ADC_CHANNEL_CURRENT

Chris



reply via email to

[Prev in Thread] Current Thread [Next in Thread]