summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSadeep Madurange <sadeep@asciimx.com>2024-11-17 14:35:53 +0800
committerSadeep Madurange <sadeep@asciimx.com>2024-11-17 14:35:53 +0800
commitaa3e5e52f9178ea922c658888d79e15b904eb2f9 (patch)
treefc7b9a0825441277cbdda4348ccf09c448133682
parent0adb6c825ea194c455a377d0570c596d933f317e (diff)
downloadsmart-home-aa3e5e52f9178ea922c658888d79e15b904eb2f9.tar.gz
Fix port.
-rw-r--r--rf_test/recv.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/rf_test/recv.c b/rf_test/recv.c
index e5764a7..79d3294 100644
--- a/rf_test/recv.c
+++ b/rf_test/recv.c
@@ -72,12 +72,12 @@ ISR(USART_RX_vect)
if(addr == ADDR)
{
if(data == LOCK_CMD) {
- PORTC |= (1 << LOCK_LED);
- PORTC &= ~(1 << UNLOCK_LED);
+ PORTD |= (1 << LOCK_LED);
+ PORTD &= ~(1 << UNLOCK_LED);
} else if (data == UNLOCK_LED) {
- PORTC |= (1 << UNLOCK_LED);
- PORTC &= ~(1 << LOCK_LED);
+ PORTD |= (1 << UNLOCK_LED);
+ PORTD &= ~(1 << LOCK_LED);
}
}
}