Fix return value on SGPIO decimation function.

This commit is contained in:
Jared Boone
2013-11-20 15:08:59 -08:00
parent e3f9e204c1
commit 91a7ca4983

View File

@ -250,4 +250,6 @@ bool sgpio_cpld_stream_rx_set_decimation(const uint_fast8_t skip_n) {
*/
GPIO_SET(GPIO5) = GPIOPIN14 | GPIOPIN13 | GPIOPIN12;
GPIO_CLR(GPIO5) = (skip_n & 7) << 12;
return (skip_n < 8);
}