From 72eafe7e7212f3279a87b18e9a2698d9c6110411 Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Sun, 25 Dec 2016 21:55:23 +0100 Subject: [PATCH] Fix DSM debug statement. From @firwar --- src/lib/rc/dsm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/rc/dsm.c b/src/lib/rc/dsm.c index 46c2421c26..dfde3a0ab5 100644 --- a/src/lib/rc/dsm.c +++ b/src/lib/rc/dsm.c @@ -696,7 +696,7 @@ dsm_parse(uint64_t now, uint8_t *frame, unsigned len, uint16_t *values, #ifdef DSM_DEBUG for (unsigned i = 0; i < dsm_chan_count; i++) { - printf("dsm_decode: %u: %u\n", i, values[0]); + printf("dsm_decode: %u: %u\n", i, values[i]); } #endif