Skip to content

Commit

Permalink
Fix for EspSoftwareSerial use of Delegate that resulted in changes to…
Browse files Browse the repository at this point in the history
… sds_011 also using Delegate.
  • Loading branch information
dok-net committed Dec 28, 2019
1 parent 57d31b1 commit f8f9692
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 7 deletions.
2 changes: 0 additions & 2 deletions examples/measure/measure.ino
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@
Author: Dirk O. Kaar <[email protected]>
*/

#ifndef ESP32
#include <SoftwareSerial.h>
#endif
#include <Sds011.h>

#define SDS_PIN_RX D7
Expand Down
2 changes: 0 additions & 2 deletions examples/startstop/startstop.ino
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@
Author: Dirk O. Kaar <[email protected]>
*/

#ifndef ESP32
#include <SoftwareSerial.h>
#endif
#include <Sds011.h>

#define SDS_PIN_RX D7
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": "esp_sds011",
"version": "0.9.0",
"version": "0.11.0",
"keywords": [
"sds011"
],
Expand Down
3 changes: 2 additions & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
name=esp_sds011
version=0.9.0
version=0.11.0
author=Dirk O. Kaar
maintainer=Dirk O. Kaar <[email protected]>
sentence=ESP8266/ESP32 library for the SDS011 particulate matter sensor.
paragraph=
category=Sensors
url=https://github.com/dok-net/esp_sds011
architectures=esp8266,esp32
depends=EspSoftwareSerial
2 changes: 1 addition & 1 deletion src/Sds011.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ SOFTWARE.
#endif

#include <Stream.h>
#include <Delegate.h>
#include <circular_queue/Delegate.h>

class Sds011 {
public:
Expand Down

0 comments on commit f8f9692

Please sign in to comment.