From 29700853fde142ff6276cff88b201e9067260c57 Mon Sep 17 00:00:00 2001 From: bsongis Date: Fri, 20 Apr 2012 18:24:55 +0000 Subject: [PATCH] Compilation issue on companion9x --- src/open9x.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/open9x.h b/src/open9x.h index 4056de6d9..6fcdd9884 100644 --- a/src/open9x.h +++ b/src/open9x.h @@ -516,7 +516,7 @@ extern void setTrimValue(uint8_t phase, uint8_t idx, int16_t trim); extern uint8_t s_perOut_flight_phase; #endif -#if define(ROTARY_ENCODERS) +#if defined(ROTARY_ENCODERS) int16_t getRotaryEncoder(uint8_t idx); void incRotaryEncoder(uint8_t idx, int8_t inc); inline bool navigationRotaryEncoder(uint8_t event)