Ensure that we don't initialise more motors than are defined in target.h. Make MAX_PW...
commitddd2f176f6c7bdaf90789296ca21225dc77f9b5c
authorKonstantin Sharlaimov <konstantin.sharlaimov@gmail.com>
Thu, 18 Aug 2016 05:41:37 +0000 (18 08:41 +0300)
committerGitHub <noreply@github.com>
Thu, 18 Aug 2016 05:41:37 +0000 (18 08:41 +0300)
tree145aa593d16270c858feb4ba05c23284372491fd
parentdd6f6cd7eb5a8cb8d0f531935ed3196ea82f22e5
Ensure that we don't initialise more motors than are defined in target.h. Make MAX_PWM_OUTPUT_PORTS a per-target define (#471)
24 files changed:
src/main/drivers/pwm_mapping.c
src/main/drivers/pwm_output.c
src/main/target/ALIENFLIGHTF3/target.h
src/main/target/ANYFC/target.h
src/main/target/BLUEJAYF4/target.h
src/main/target/CC3D/target.h
src/main/target/CHEBUZZF3/target.h
src/main/target/CJMCU/target.h
src/main/target/COLIBRI_RACE/target.h
src/main/target/CRAZEPONYMINI/target.h
src/main/target/EUSTM32F103RC/target.h
src/main/target/FURYF3/target.h
src/main/target/LUX_RACE/target.h
src/main/target/MOTOLAB/target.h
src/main/target/NAZE/target.h
src/main/target/OLIMEXINO/target.h
src/main/target/PORT103R/target.h
src/main/target/REVO/target.h
src/main/target/REVONANO/target.h
src/main/target/RMDO/target.h
src/main/target/SPARKY/target.h
src/main/target/SPRACINGF3/target.h
src/main/target/SPRACINGF3EVO/target.h
src/main/target/STM32F3DISCOVERY/target.h