1
0
mirror of https://github.com/esphome/esphome.git synced 2025-11-18 07:45:56 +00:00

Fix pin/component switchup in SX1509 pin configuration (#2593)

This commit is contained in:
Oxan van Leeuwen
2021-10-21 19:55:19 +02:00
committed by GitHub
parent 8735d3b83e
commit c0fc5b48ae
3 changed files with 13 additions and 2 deletions

View File

@@ -358,6 +358,7 @@ template<typename T> T clamp(const T val, const T min, const T max) {
return max;
return val;
}
template uint8_t clamp(uint8_t, uint8_t, uint8_t);
template float clamp(float, float, float);
template int clamp(int, int, int);