X-Git-Url: http://git.droids-corp.org/?p=beacon-rx-433.git;a=blobdiff_plain;f=main.c;fp=main.c;h=042f91b2adc386ede12805c001966fb5d17716af;hp=1a9b01eb5c726ab618823949d796fda09fed923d;hb=c8252ed593f74b11b2cf3cb1c8163c1b368e6aec;hpb=6c2b37ed3725443a7342e0baca30c6dc97ee2578 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 }