From: Nathael Pajani Date: Thu, 11 Jun 2020 19:09:00 +0000 (+0200) Subject: Typo (copy paste) fix in comments X-Git-Url: http://git.techno-innov.fr/?a=commitdiff_plain;h=2ea967b82577709f014916bcd67c13f04d65cfff;p=soft%2Flpc122x%2Fcore Typo (copy paste) fix in comments --- diff --git a/include/extdrv/cc1101.h b/include/extdrv/cc1101.h index b366f9a..f5496d2 100644 --- a/include/extdrv/cc1101.h +++ b/include/extdrv/cc1101.h @@ -99,7 +99,7 @@ struct cc1101_status_regs { uint8_t packet_status; /* 0x38 - PKTSTATUS - Current GDOx status and packet status */ uint8_t pll_calibration; /* 0x39 - VCO_VC_DAC - Current setting from PLL calibration module */ uint8_t tx_bytes; /* 0x3A - TXBYTES - Underflow and number of bytes in the TX FIFO */ - uint8_t rx_bytes; /* 0x3B - RXBYTES - Overrflow and number of bytes in the TX FIFO */ + uint8_t rx_bytes; /* 0x3B - RXBYTES - Overrflow and number of bytes in the RX FIFO */ uint8_t rc_calib_status[2]; /* 0x3C .. 0x3D - RCCTRL1_STATUS .. RCCTRL0_STATUS - Last RC oscillator calibration result */ } __attribute__((packed)); #define CC1101_STATUS(x) (((uint8_t)offsetof(struct cc1101_status_regs, x)) + (0x70))