/*************** Error Checking Section ********************/
/**************************************************************************************/
#ifndef NUMBER_MOTOR
#error "NUMBER_MOTOR is not set, most likely you have not defined any type of multicopter"
#endif
#if (defined(LCD_DUMMY) || defined(LCD_SERIAL3W) || defined(LCD_TEXTSTAR) || defined(LCD_VT100) || defined(LCD_TTY) || defined(LCD_ETPP) || defined(LCD_LCD03) || defined(OLED_I2C_128x64) ) || defined(OLED_DIGOLE)
#define HAS_LCD
#endif
#if (defined(LCD_CONF) || defined(LCD_TELEMETRY)) && !(defined(HAS_LCD) )
#error "LCD_CONF or LCD_TELEMETRY defined, and choice of LCD not defined. Uncomment one of LCD_SERIAL3W, LCD_TEXTSTAR, LCD_VT100, LCD_TTY or LCD_ETPP, LCD_LCD03, OLED_I2C_128x64, OLED_DIGOLE"
#endif
#if defined(POWERMETER_SOFT) && !(defined(VBAT))
#error "to use powermeter, you must also define and configure VBAT"
#endif
#if defined(LCD_TELEMETRY_AUTO) && !(defined(LCD_TELEMETRY))
#error "to use automatic telemetry, you MUST also define and configure LCD_TELEMETRY"
#endif
#if defined(LCD_TELEMETRY_STEP) && !(defined(LCD_TELEMETRY))
#error "to use single step telemetry, you MUST also define and configure LCD_TELEMETRY"
#endif
#if defined(A32U4_4_HW_PWM_SERVOS) && !(defined(HELI_120_CCPM))
#error "for your protection: A32U4_4_HW_PWM_SERVOS was not tested with your coptertype"
#endif
#endif /* DEF_H_ */
/**************************************************************************************/
#ifndef NUMBER_MOTOR
#error "NUMBER_MOTOR is not set, most likely you have not defined any type of multicopter"
#endif
#if (defined(LCD_DUMMY) || defined(LCD_SERIAL3W) || defined(LCD_TEXTSTAR) || defined(LCD_VT100) || defined(LCD_TTY) || defined(LCD_ETPP) || defined(LCD_LCD03) || defined(OLED_I2C_128x64) ) || defined(OLED_DIGOLE)
#define HAS_LCD
#endif
#if (defined(LCD_CONF) || defined(LCD_TELEMETRY)) && !(defined(HAS_LCD) )
#error "LCD_CONF or LCD_TELEMETRY defined, and choice of LCD not defined. Uncomment one of LCD_SERIAL3W, LCD_TEXTSTAR, LCD_VT100, LCD_TTY or LCD_ETPP, LCD_LCD03, OLED_I2C_128x64, OLED_DIGOLE"
#endif
#if defined(POWERMETER_SOFT) && !(defined(VBAT))
#error "to use powermeter, you must also define and configure VBAT"
#endif
#if defined(LCD_TELEMETRY_AUTO) && !(defined(LCD_TELEMETRY))
#error "to use automatic telemetry, you MUST also define and configure LCD_TELEMETRY"
#endif
#if defined(LCD_TELEMETRY_STEP) && !(defined(LCD_TELEMETRY))
#error "to use single step telemetry, you MUST also define and configure LCD_TELEMETRY"
#endif
#if defined(A32U4_4_HW_PWM_SERVOS) && !(defined(HELI_120_CCPM))
#error "for your protection: A32U4_4_HW_PWM_SERVOS was not tested with your coptertype"
#endif
#endif /* DEF_H_ */