Acc g scaling with DSP
[inav.git] / src / main / drivers / pwm_esc_detect.h
blob803f8b7979d4c1f1cb422dbed0eeb91b5d1f1609
1 /*
2 * This file is part of Cleanflight.
4 * Cleanflight is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation, either version 3 of the License, or
7 * (at your option) any later version.
9 * Cleanflight is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
17 #pragma once
19 #ifdef USE_BRUSHED_ESC_AUTODETECT
20 typedef enum {
21 MOTOR_UNKNOWN = 0,
22 MOTOR_BRUSHED,
23 MOTOR_BRUSHLESS
24 } HardwareMotorTypes_e;
26 extern uint8_t hardwareMotorType;
28 void detectBrushedESC(void);
29 #endif