Marked old SpanRange() class as [[deprecated]]

This will cause a Warning (not an Error) at compile time indicating the class has been deprecated and that the Characteristic::setRange() method should be used instead.  Sketch will still run and SpanRange will still function correctly if used.  Will delete from code base at some point in the future.
This commit is contained in:
Gregg 2021-10-05 21:27:41 -05:00
parent 6de645216c
commit 8236b6fb9a
1 changed files with 1 additions and 1 deletions

View File

@ -501,7 +501,7 @@ struct SpanCharacteristic{
///////////////////////////////
struct SpanRange{
struct [[deprecated("Please use Characteristic::setRange() method instead.")]] SpanRange{
SpanRange(int min, int max, int step);
};