summaryrefslogtreecommitdiffhomepage
path: root/digital/beacon
diff options
context:
space:
mode:
Diffstat (limited to 'digital/beacon')
-rw-r--r--digital/beacon/src/stub/simu_stub.host.c2
-rw-r--r--digital/beacon/src/twi_specific.c2
-rw-r--r--digital/beacon/src/twi_specific.h4
3 files changed, 1 insertions, 7 deletions
diff --git a/digital/beacon/src/stub/simu_stub.host.c b/digital/beacon/src/stub/simu_stub.host.c
index 38cf93fb..295ba1c5 100644
--- a/digital/beacon/src/stub/simu_stub.host.c
+++ b/digital/beacon/src/stub/simu_stub.host.c
@@ -78,8 +78,6 @@ simu_twi_proto_update (void)
/* Update TWI slave buffer after each position update. */
uint8_t status[4 + 5 * UTILS_COUNT (simu_positions)];
uint8_t i, index = 1;
- status[index++] = 0;
- status[index++] = 0;
status[index++] = simu_seq;
for (i = 0; i < UTILS_COUNT (simu_positions); i++)
{
diff --git a/digital/beacon/src/twi_specific.c b/digital/beacon/src/twi_specific.c
index d646546d..9bd35f5e 100644
--- a/digital/beacon/src/twi_specific.c
+++ b/digital/beacon/src/twi_specific.c
@@ -43,8 +43,6 @@ void twi_task(void)
uint8_t RXlen;
static uint8_t seq = 0;
- TXbuffer[TWI_TX_RFU1_FIELD] = 0;
- TXbuffer[TWI_TX_RFU2_FIELD] = 0;
TXbuffer[TWI_TX_SEQ_FIELD] = seq;
/* Opponent 1 */
diff --git a/digital/beacon/src/twi_specific.h b/digital/beacon/src/twi_specific.h
index fc9a06c1..1aac01d0 100644
--- a/digital/beacon/src/twi_specific.h
+++ b/digital/beacon/src/twi_specific.h
@@ -45,8 +45,6 @@ typedef enum
typedef enum
{
TWI_TX_CRC_FIELD,
- TWI_TX_RFU1_FIELD,
- TWI_TX_RFU2_FIELD,
TWI_TX_SEQ_FIELD,
TWI_TX_X1_MSB_FIELD,
TWI_TX_X1_LSB_FIELD,
@@ -67,4 +65,4 @@ void twi_task(void);
/* Initialisze specific TWI */
void twi_init_specific(void);
-#endif \ No newline at end of file
+#endif