Commit 3dc1f0838f6ff0256961462cbc7f3ad49bca0870
receivedThu, 15. Aug 2024, 14:46:27 (by user sx)
Thu, 15 Aug 2024 12:46:27 +0000 (14:46 +0200)
authorManfred Steiner <sx@htl-kaindorf.at>
Thu, 15 Aug 2024 12:46:20 +0000 (14:46 +0200)
committerManfred Steiner <sx@htl-kaindorf.at>
Thu, 15 Aug 2024 12:46:20 +0000 (14:46 +0200)
software/nano-644/test_2024-07-23/src/units/cc1101.hpp

index e0676505334d8d27c51135ccdd4a26f95b20b76e..a861f09de62ecc45de319712ec8b8874406d04dd 100644 (file)
@@ -13,7 +13,7 @@ class Cc1101 : public TestUnit {
       typedef enum { Test, Send, Receive  } Cc1101Mode;
       typedef enum { _IDLE = 0, _RX = 1, _TX = 2, _FSTXON = 3, _CALIBRATE = 4, _SETTLING = 5, _RXFIFO_OVFL = 6, _TXFIFO_UNFL = 7 } StatusState_t;
       typedef struct { uint8_t fifoBytes:4; StatusState_t state:3; uint8_t chipNotReady:1; } Status_t;
-      typedef struct { uint8_t rssi:8; uint8_t lqi:7; uint8_t crcOk:1; } ReceivedPacketStatus_t; // CC1101 datasheet page 37
+      typedef struct { int8_t rssi:8; uint8_t lqi:7; uint8_t crcOk:1; } ReceivedPacketStatus_t; // CC1101 datasheet page 37
       union {
          struct {
             union {