HAL_AVR: fixed build

This commit is contained in:
Andrew Tridgell 2014-01-17 15:00:02 +11:00
parent 965e5b2dfd
commit fc6ce42a28
2 changed files with 0 additions and 16 deletions

View File

@ -146,14 +146,6 @@ void APM1RCOutput::disable_ch(uint8_t ch) {
}
}
void APM1RCOutput::disable_mask(uint32_t chmask) {
for (int i = 0; i < 32; i++) {
if ((chmask >> i) & 1) {
disable_ch(i);
}
}
}
/* constrain pwm to be between min and max pulsewidth. */
static inline uint16_t constrain_period(uint16_t p) {
if (p > RC_INPUT_MAX_PULSEWIDTH) return RC_INPUT_MAX_PULSEWIDTH;

View File

@ -138,14 +138,6 @@ void APM2RCOutput::disable_ch(uint8_t ch) {
}
}
void APM2RCOutput::disable_mask(uint32_t chmask) {
for (int i = 0; i < 32; i++) {
if ((chmask >> i) & 1) {
disable_ch(i);
}
}
}
/* constrain pwm to be between min and max pulsewidth. */
static inline uint16_t constrain_period(uint16_t p) {
if (p > RC_INPUT_MAX_PULSEWIDTH) return RC_INPUT_MAX_PULSEWIDTH;