AP_HAL_Linux: RCOutput_PCA9685: remove trailing whitespace

This commit is contained in:
Lucas De Marchi 2015-09-02 11:17:30 -03:00 committed by Andrew Tridgell
parent 18321a77c4
commit 0000ff45cb
1 changed files with 3 additions and 3 deletions

View File

@ -88,7 +88,7 @@ void LinuxRCOutput_PCA9685::init(void* machtnicht)
"valid I2C semaphore!"));
return; /* never reached */
}
reset_all_channels();
/* Set the initial frequency */
@ -128,7 +128,7 @@ void LinuxRCOutput_PCA9685::set_freq(uint32_t chmask, uint16_t freq_hz)
}
/* Shutdown before sleeping.
* see p.14 of PCA9685 product datasheet
* see p.14 of PCA9685 product datasheet
*/
hal.i2c->writeRegister(PCA9685_ADDRESS, PCA9685_RA_ALL_LED_OFF_H, PCA9685_ALL_LED_OFF_H_SHUT);
@ -214,7 +214,7 @@ uint16_t LinuxRCOutput_PCA9685::read(uint8_t ch)
void LinuxRCOutput_PCA9685::read(uint16_t* period_us, uint8_t len)
{
for (int i = 0; i < len; i++)
for (int i = 0; i < len; i++)
period_us[i] = read(0 + i);
}