paparazzi-devel
[Top][All Lists]
Advanced

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

Re: [Paparazzi-devel] main_ap.c question


From: marcus.wolschon
Subject: Re: [Paparazzi-devel] main_ap.c question
Date: Tue, 17 Mar 2009 10:13:12 +0100
User-agent: RoundCube Webmail/0.1b

On Mon, 16 Mar 2009 13:32:05 -0100, Rui Costa <address@hidden> wrote:
> Hello,
> 
> 
> I'm trying to understand the airborne code. Beginning at main_ap.c.
> 
> I see there a lot of "#ifdef" like this one:
> 
> #ifdef TELEMETER
> #include "srf08.h"
> #endif
> 
> 
> What does this mean?
> 
> For example, where TELEMETER can be defined?

These are airplane- or platform- specific defines
from the Makefiles given via the "-DTELEMETER" -option
of gcc.
They are used to include or not include specific
functionalities or implementations.

Marcus




reply via email to

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