Merge pull request #10178 from barbudor/pr_number_ds18x20

Allow DS18X20_MAX_SENSORS to be redefined
This commit is contained in:
Theo Arends 2020-12-19 08:51:17 +01:00 committed by GitHub
commit 6aa26c67b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -38,7 +38,9 @@
#define W1_WRITE_SCRATCHPAD 0x4E
#define W1_READ_SCRATCHPAD 0xBE
#ifndef DS18X20_MAX_SENSORS // DS18X20_MAX_SENSORS fallback to 8 if not defined in user_config_override.h
#define DS18X20_MAX_SENSORS 8
#endif
const char kDs18x20Types[] PROGMEM = "DS18x20|DS18S20|DS1822|DS18B20|MAX31850";