Skip to content

Commit

Permalink
Queue library fully renamed to ArduinoQueue
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrey M committed May 16, 2020
1 parent b7fd703 commit 9307113
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 9307113

Please sign in to comment.