Fixed non-compliant use of constexpr for pointers

This commit is contained in:
2019-08-10 14:12:10 +02:00
parent 1ee9bc8ca4
commit c4700ed824
4 changed files with 66 additions and 28 deletions

View File

@@ -258,7 +258,7 @@ class Uart {
Uart &operator<<(const void *val)
{
txString(F("0x"));
txNumber<uint16_t, 16>(reinterpret_cast<uint16_t>(val));
txNumber<uint16_t, 16, 4, '0', false>(reinterpret_cast<uint16_t>(val));
return *this;
}