|
|
@@ -68,7 +68,7 @@ void Configure_Transmission(uint8_t moduleId)
|
|
68
|
68
|
SETUP_RETR_REGISTER setupRetrRegisterContents = {.byte = 0x0};
|
|
69
|
69
|
|
|
70
|
70
|
uint8_t txAddress[5] = {0xB3, 0xB3, 0xB3, 0xB3, 0x00};
|
|
71
|
|
- uint8_t rx0Address[5] = {0xB3, 0xB3, 0xB3, 0xB3, 0x20};
|
|
|
71
|
+ uint8_t rx0Address[5] = {0xB3, 0xB3, 0xB3, 0xB3, 0x00};
|
|
72
|
72
|
/*
|
|
73
|
73
|
* - Length of CRC (CRCO in CONFIG)
|
|
74
|
74
|
* - Enable auto acknowledgment (EN_AA)
|
|
|
@@ -103,7 +103,7 @@ void Configure_Transmission(uint8_t moduleId)
|
|
103
|
103
|
/* Set the TX address */
|
|
104
|
104
|
Set_TX_Address(txAddress, MAX_ADDRESS_LENGTH);
|
|
105
|
105
|
|
|
106
|
|
- rx0Address[4] = moduleId; // The last byte of the address corresponds to the Id set by the pin programming
|
|
|
106
|
+ /* Set the RX_P0 address to the one of the base station to receive acks */
|
|
107
|
107
|
Set_RX_P0_Address(rx0Address, MAX_ADDRESS_LENGTH);
|
|
108
|
108
|
|
|
109
|
109
|
|