diff options
| author | Sadeep Madurange <sadeep@asciimx.com> | 2024-11-24 18:19:41 +0800 |
|---|---|---|
| committer | Sadeep Madurange <sadeep@asciimx.com> | 2024-11-24 18:19:41 +0800 |
| commit | d4ff43c1793e7025a70b2e0b4afeb53c32ad9361 (patch) | |
| tree | ab68f4dc5329eade060346e40e56f3ba0b95c408 /rf_test/recv.c | |
| parent | 343a139e10436d074a8d94a63b26ee0fe74280be (diff) | |
| download | smart-home-d4ff43c1793e7025a70b2e0b4afeb53c32ad9361.tar.gz | |
wip
Diffstat (limited to 'rf_test/recv.c')
| -rw-r--r-- | rf_test/recv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rf_test/recv.c b/rf_test/recv.c index 010a432..2e5c1c9 100644 --- a/rf_test/recv.c +++ b/rf_test/recv.c @@ -13,7 +13,7 @@ #define LOCK 0xB5 #define UNLOCK 0xAE -#define SIGPIN PB3 +#define SIGPIN PB0 static inline void led_init(void) { @@ -24,7 +24,7 @@ static inline void led_init(void) static inline void pcint2_init(void) { PCICR |= (1 << PCIE2); - PCMSK2 |= (1 << PCINT2); + PCMSK2 |= (1 << PCINT0); } int main(void) |
