Skip to content

Commit 6beda4c

Browse files
2 parents cce07f1 + 34bbf82 commit 6beda4c

File tree

7 files changed

+13
-7
lines changed

7 files changed

+13
-7
lines changed

cores/asr650x/Arduino.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@
5555
#define bitClear(value, bit) ((value) &= ~(1UL << (bit)))
5656
#define bit(b) (1 << (b))
5757
#define _BV(b) (1UL << (b))
58-
#define nullptr NULL
5958
#define yield()
6059

6160
//#ifdef __cplusplus

cores/asr6601/base/Arduino.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@
5858
#define bitClear(value, bit) ((value) &= ~(1UL << (bit)))
5959
#define bit(b) (1 << (b))
6060
#define _BV(b) (1UL << (b))
61-
#define nullptr NULL
6261

6362
#define min(a, b) ((a)<(b)?(a):(b))
6463
#define max(a, b) ((a)>(b)?(a):(b))

libraries/Basics/examples/LowPower/LowPower_WakeUpByTimer/LowPower_WakeUpByTimer.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#include "Arduino.h"
2-
2+
#include "LoRa_APP.h"
33

44
#define timetillsleep 5000
55
#define timetillwakeup 5000

libraries/Basics/src/softSerial.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,12 @@ void softSerial::begin(uint16_t Baudrate)
9595
digitalWrite(TX_GPIO,HIGH);
9696
}
9797

98+
void softSerial::end()
99+
{
100+
digitalWrite(TX_GPIO, LOW);
101+
detachInterrupt(RX_GPIO);
102+
}
103+
98104
int softSerial::available(void)
99105
{
100106
if(IRREC_RX_CNT){

libraries/Basics/src/softSerial.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ uint8_t pbuffer;
1414
~softSerial() {}
1515

1616
void begin(uint16_t Baudrate);
17+
void end();
1718

1819
void sendByte(uint8_t value);
1920
void sendStr(uint8_t *st, uint16_t len);

libraries/EEPROM/EEPROM.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,13 @@
4141
#define DEBUGV(...) do { (void)0; } while (0)
4242
#endif
4343
#ifdef __asr650x__
44-
#define _EEPROM_SIZE (CY_FLASH_SIZEOF_ROW * 3)
44+
#define _EEPROM_SIZE (CY_FLASH_SIZEOF_ROW * 3)
4545
#define _EEPROM_BASE CY_SFLASH_USERBASE
4646
#else
47-
#define #define _EEPROM_SIZE 0xC00
47+
#define _EEPROM_SIZE 0xC00
4848
#define _EEPROM_BASE FLASH_BASE+0x7400
4949
#endif
50+
5051
EEPROMClass::EEPROMClass(uint32_t baddr)
5152
: _baddr(baddr)
5253
, _data(0)

platform.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"type": "git",
2323
"url": "https://github.com/HelTecAutomation/platform-asrmicro650x.git"
2424
},
25-
"version": "1.2.0",
25+
"version": "1.4.0",
2626
"frameworks": {
2727
"arduino": {
2828
"package": "framework-arduinoasrmicro650x",
@@ -38,7 +38,7 @@
3838
"framework-arduinoasrmicro650x": {
3939
"type": "framework",
4040
"owner": "heltecautomation",
41-
"version": "~1.2.0",
41+
"version": "~1.4.0",
4242
"optional": true
4343
},
4444
"tool-cubecellelftool": {

0 commit comments

Comments
 (0)