From c8252ed593f74b11b2cf3cb1c8163c1b368e6aec Mon Sep 17 00:00:00 2001 From: Olivier Matz Date: Thu, 23 May 2013 19:43:07 +0200 Subject: [PATCH] fix capture of radio output Signed-off-by: Olivier Matz --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index 1a9b01e..042f91b 100644 --- a/main.c +++ b/main.c @@ -330,7 +330,7 @@ static uint8_t get_input(int i) #ifdef HOST_VERSION return !!x[i]; #else - return !!(PINB & RADIO_BIT); + return !!(PINB & (1 << RADIO_BIT)); #endif } -- 2.20.1