Guitarmath / arducopter

Automatically exported from code.google.com/p/arducopter
0 stars 0 forks source link

Cannot compile when #define LOGGING_ENABLE DISABLED #442

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
If logging is disabled, arducopter cannot be compile.
#define LOGGING_ENABLED DISABLED

In this case, the proc "print_latlon" (file Log.pde) is not visible (between 
#if LOGGING_ENABLED == ENABLED and #endif)
But this proc is used in proc test_gps (file test.pde).

To compile, I move "print_latlon" outside the #if .. #endif.

Original issue reported on code.google.com by denis.artru on 11 Jul 2012 at 10:12

GoogleCodeExporter commented 8 years ago
Ok on 2.9

Original comment by Benny.Si...@gmail.com on 20 Jan 2013 at 12:16

GoogleCodeExporter commented 8 years ago
Issue closed. 
If you find this is an error please report it in the new issues list
https://github.com/diydrones/ardupilot/issues?labels=ArduCopter&page=1&state=ope
n

Original comment by Benny.Si...@gmail.com on 20 Jan 2013 at 12:17