1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-11-29 07:24:13 +01:00

OP-922 Fix typo in pios_tim.c

This commit is contained in:
Stefan Karlsson 2014-08-16 08:40:37 +02:00
parent 22e981ea87
commit 34983a2d28

View File

@ -171,7 +171,7 @@ int32_t PIOS_TIM_InitChannels(uint32_t *tim_id, const struct pios_tim_channel *c
*/ // commented out for now as f4 starts all clocks
GPIO_Init(chan->pin.gpio, &chan->pin.init);
PIOS_DEBUG_Assert(chan->remaP);
PIOS_DEBUG_Assert(chan->remap);
// Second parameter should technically be PinSource but they are numerically the same
GPIO_PinAFConfig(chan->pin.gpio, chan->pin.pin_source, chan->remap);