Skip to content

Commit

Permalink
Merge pull request #11 from Defensor7/master
Browse files Browse the repository at this point in the history
Queue library fully renamed to ArduinoQueue
  • Loading branch information
pauln authored Jul 23, 2020
2 parents b7fd703 + 9307113 commit 3dad5d9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions linp-doorbell.h
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
#include "esphome.h"
#include "Queue.h"
#include "ArduinoQueue.h"


#define get_linp_doorbell(constructor) static_cast<LinpDoorbell *> \
(const_cast<custom_component::CustomComponentConstructor *>(&constructor)->get_component(0))

class LinpDoorbell : public Component, CustomAPIDevice {
DataQueue<String> commandQueue;
DataQueue<String> requests;
ArduinoQueue<String> commandQueue;
ArduinoQueue<String> requests;
#ifdef LOG_BINARY_SENSOR
DataQueue<int> buttonPresses;
ArduinoQueue<int> buttonPresses;
#endif
#ifdef LOG_SENSOR
bool isChiming = false;
Expand Down

0 comments on commit 3dad5d9

Please sign in to comment.