Fix XBee on Energia?

This commit is contained in:
SRGDamia1
2018-02-20 11:08:27 -05:00
parent 6ad1aec0bd
commit 78f1b4b970
2 changed files with 2 additions and 2 deletions

View File

@@ -31,7 +31,7 @@ env:
- PLATFORMIO_CI_SRC=tools/test_build PLATFORMIO_CI_ARGS="--project-option='build_flags=-D TINY_GSM_MODEM_M590' --project-option='framework=energia' --board=lplm4f120h5qr"
- PLATFORMIO_CI_SRC=tools/test_build PLATFORMIO_CI_ARGS="--project-option='build_flags=-D TINY_GSM_MODEM_ESP8266' --project-option='framework=energia' --board=lplm4f120h5qr"
- PLATFORMIO_CI_SRC=tools/test_build PLATFORMIO_CI_ARGS="--project-option='build_flags=-D TINY_GSM_MODEM_U201' --project-option='framework=energia' --board=lplm4f120h5qr"
# - PLATFORMIO_CI_SRC=tools/test_build PLATFORMIO_CI_ARGS="--project-option='build_flags=-D TINY_GSM_MODEM_XBEE' --project-option='framework=energia' --board=lplm4f120h5qr"
- PLATFORMIO_CI_SRC=tools/test_build PLATFORMIO_CI_ARGS="--project-option='build_flags=-D TINY_GSM_MODEM_XBEE' --project-option='framework=energia' --board=lplm4f120h5qr"
install:
# ChipKIT issue: install 32-bit support for GCC PIC32

View File

@@ -131,7 +131,7 @@ public:
virtual int read(uint8_t *buf, size_t size) {
TINY_GSM_YIELD();
return at->stream.readBytes(buf, size);
return at->stream.readBytes((uint8_t*)buf, size);
}
virtual int read() {