1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-27 18:02:17 +03:00

allow multiple event callbacks and add filter option

This commit is contained in:
Markus Sattler
2015-12-29 17:31:57 +01:00
parent 61440d9e2b
commit 85905c12f2
3 changed files with 52 additions and 7 deletions

View File

@ -247,8 +247,12 @@ void optimistic_yield(uint32_t interval_us);
#include "Updater.h"
#include "debug.h"
#ifndef _GLIBCXX_VECTOR
// arduino is not compatible with std::vector
#define min(a,b) ((a)<(b)?(a):(b))
#define max(a,b) ((a)>(b)?(a):(b))
#endif
#define _min(a,b) ((a)<(b)?(a):(b))
#define _max(a,b) ((a)>(b)?(a):(b))