File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7878#define RADIO_PREAMBLE_LEN 8
7979#define RADIO_GAIN 0
8080
81- #define MINIMUM_TRANSMIT_PERIOD_MS 10000 // 10s
81+ #define MINIMUM_TRANSMIT_PERIOD_MS 10000 // 10s
8282
8383/** @brief Radio SPI */
8484#define RADIO_SPI SPI
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ static void setTransmissionDoneFlag(void) { transmission_done_flag = true; }
1111 *
1212 */
1313RadioStorage::RadioStorage () : Storage(" Radio" ) {
14- this ->last_transmission_time = 0 ;
14+ this ->last_transmission_time = 0 ;
1515}
1616
1717/* *
@@ -44,7 +44,8 @@ bool RadioStorage::verify() {
4444void RadioStorage::store (String data) {
4545 static const unsigned long transmission_mod = 1 ;
4646 static unsigned long transmission_count = 0 ;
47- if (transmission_done_flag && transmission_count % transmission_mod == 0 && (millis () - this ->last_transmission_time ) > MINIMUM_TRANSMIT_PERIOD_MS) {
47+ if (transmission_done_flag && transmission_count % transmission_mod == 0 &&
48+ (millis () - this ->last_transmission_time ) > MINIMUM_TRANSMIT_PERIOD_MS) {
4849 transmission_done_flag = false ;
4950
5051 if (this ->state == RADIOLIB_ERR_NONE) {
You can’t perform that action at this time.
0 commit comments