From ee59f1fe34ca945c85566132b54f203641f0f3f1 Mon Sep 17 00:00:00 2001 From: nvt-se Date: Wed, 7 Nov 2007 15:26:00 +0000 Subject: [PATCH] Use a fresh RSSI value in the read function. --- platform/msb430/dev/cc1020.c | 1 + 1 file changed, 1 insertion(+) diff --git a/platform/msb430/dev/cc1020.c b/platform/msb430/dev/cc1020.c index d77573b95..e8b5a8f43 100644 --- a/platform/msb430/dev/cc1020.c +++ b/platform/msb430/dev/cc1020.c @@ -292,6 +292,7 @@ cc1020_off(void) uint8_t cc1020_get_rssi(void) { + rssi = cc1020_read_reg(CC1020_RSS); return rssi; }