mirror of
https://github.com/esphome/esphome.git
synced 2025-02-15 17:38:15 +00:00
Update ds248x.h
Macros not allowed
This commit is contained in:
parent
51f3195e87
commit
b90f22a7c2
@ -5,7 +5,7 @@
|
||||
#include "esphome/components/sensor/sensor.h"
|
||||
#include "esphome/components/i2c/i2c.h"
|
||||
|
||||
#define NBR_CHANNELS 8
|
||||
static const uint8_t NBR_CHANNELS = 8;
|
||||
|
||||
namespace esphome {
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user