NeoPool make compiler setting available by user_config_override.h (#21645)

This commit is contained in:
Norbert Richter 2024-06-16 17:07:51 +02:00 committed by GitHub
parent bdfe3524a9
commit 2ce513f50c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 17 additions and 0 deletions

View File

@ -18,6 +18,7 @@ All notable changes to this project will be documented in this file.
- SerialBridge command ``SSerialSend9`` replaced by ``SSerialMode``
- SML replace vars in descriptor and line (#21622)
- NeoPool using temperature as only frequently changing value for NPTeleperiod (#21628)
- NeoPool make compiler setting available by user_config_override.h
### Fixed
- Matter interverted attributes 0xFFF9 and 0xFFFB (#21636)

View File

@ -61,19 +61,35 @@
#endif
#ifndef NEOPOOL_READ_REGISTER
#define NEOPOOL_READ_REGISTER 0x04 // Function code used to read register
#endif
#ifndef NEOPOOL_WRITE_REGISTER
#define NEOPOOL_WRITE_REGISTER 0x10 // Function code used to write register
#endif
#ifndef NEOPOOL_READ_TIMEOUT
#define NEOPOOL_READ_TIMEOUT 25 // read data timeout in ms
#endif
#ifndef NEOPOOL_CACHE_INVALID_TIME
#define NEOPOOL_CACHE_INVALID_TIME 30 // data cache invalidation time in s
#endif
// Pool LED RGB lights with different programs, the individual programs can be selected
// by switching them off and on again for a defined time when the LED is switched on.
// Default timings for LED light program step sequence (NPLight 3)
#ifndef NEOPOOL_LIGHT_PRG_WAIT
#define NEOPOOL_LIGHT_PRG_WAIT 30 // delay before start prg light if light was off (in ms)
#endif
#ifndef NEOPOOL_LIGHT_PRG_DELAY
#define NEOPOOL_LIGHT_PRG_DELAY 15 // default next light prg delay (in ms)
#endif
#ifndef NEOPOOL_LIGHT_PRG_DELAY_MIN
#define NEOPOOL_LIGHT_PRG_DELAY_MIN 5 // next light prg delay min (in ms)
#endif
#ifndef NEOPOOL_LIGHT_PRG_DELAY_MAX
#define NEOPOOL_LIGHT_PRG_DELAY_MAX 100 // next light prg delay max (in ms)
#endif
/*********************************************************************************************\