SAMD compiler fixes

This commit is contained in:
Pawel Spychalski
2018-05-16 15:08:58 +02:00
parent 434fe13fff
commit fc6fc95e1e
3 changed files with 4 additions and 4 deletions

View File

@@ -33,7 +33,7 @@ Copyright (c) 20xx, MPL Contributor1 contrib1@example.net
#error please select hardware
#endif
volatile RadioNode radioNode;
RadioNode radioNode;
/*
* Main defines for device working in TX mode

View File

@@ -35,8 +35,8 @@ class RadioNode {
void handleChannelDwell(void);
void handleTxDoneState();
void handleTx(QspConfiguration_t *qsp);
int8_t bytesToRead = -1;
uint8_t deviceState = RADIO_STATE_RX;
volatile int8_t bytesToRead = -1;
volatile uint8_t deviceState = RADIO_STATE_RX;
uint8_t rssi = 0;
uint8_t snr = 0;
uint8_t lastReceivedChannel = 0;

View File

@@ -9,7 +9,7 @@
#include "tactile.h"
#include "radio_node.h"
extern volatile RadioNode radioNode;
extern RadioNode radioNode;
enum txOledPages {
TX_PAGE_NONE,