mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-09 04:57:06 +03:00
don't count failed IR as activity
This commit is contained in:
@@ -15,6 +15,6 @@
|
||||
typedef enum {IR_NEC, IR_RC5} infrared_mode_t;
|
||||
typedef void (*infrared_handler)(uint16_t addr, uint16_t cmd);
|
||||
|
||||
void infrared_receive(RingbufHandle_t rb, infrared_handler handler);
|
||||
bool infrared_receive(RingbufHandle_t rb, infrared_handler handler);
|
||||
void infrared_init(RingbufHandle_t *rb, int gpio, infrared_mode_t mode);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user