Skip to content

Commit

Permalink
Bump to 4.0.2 to fix release versioning
Browse files Browse the repository at this point in the history
Also added a warning message about interrupts on ESP32 platforms
  • Loading branch information
ZakKemble committed Nov 2, 2020
1 parent 8b77751 commit d75930d
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
4 changes: 4 additions & 0 deletions Changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2020-11-02:
- Version 4.0.2
- No real changes, just needed to fix release versioning on GitHub

2020-11-01:
- Version 4.0.1
- Fixed issue with SPI.usingInterrupts() not being supported on ESP platforms
Expand Down
2 changes: 1 addition & 1 deletion library.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nRF905 Radio Library",
"version": "4.0.1",
"version": "4.0.2",
"keywords": "Arduino, Communication, nRF905, Nordic, 433Mhz, 868Mhz, 915Mhz, STM32, ESP8266, NodeMCU, ESP32, M5Stack",
"description": "nRF905 Radio Library for Arduino",
"repository":
Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=nRF905 Radio Library
version=4.0.1
version=4.0.2
author=Zak Kemble <contact@zakkemble.net>
maintainer=Zak Kemble <contact@zakkemble.net>
sentence=nRF905 Radio Library for Arduino
Expand Down
4 changes: 4 additions & 0 deletions src/nRF905.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
#include "nRF905_config.h"
#include "nRF905_defs.h"

#if defined(ESP32)
#warning "ESP32 platforms don't seem to have a way of disabling and enabling interrupts. Try to avoid accessing the SPI bus from within the nRF905 event functions. That is, don't read the payload from inside the rxComplete event and make sure to connect the AM pin. See https://github.com/zkemble/nRF905-arduino/issues/1"
#endif

static const uint8_t config[] PROGMEM = {
NRF905_CMD_W_CONFIG,
NRF905_CHANNEL,
Expand Down

0 comments on commit d75930d

Please sign in to comment.