Fixed missing const qualifier
This commit is contained in:
1 parent
fa0a65a94c
commit
6f592dd098
1 file changed
+4
-4
@@ -192,7 +192,7 @@ class Uart {
|
|||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
Uart &operator<<(unsigned short &val)
|
Uart &operator<<(const unsigned short &val)
|
||||||
{
|
{
|
||||||
txNumber(val);
|
txNumber(val);
|
||||||
return *this;
|
return *this;
|
||||||
@@ -216,19 +216,19 @@ class Uart {
|
|||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
Uart &operator<<(unsigned long &val)
|
Uart &operator<<(const unsigned long &val)
|
||||||
{
|
{
|
||||||
txNumber(val);
|
txNumber(val);
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
Uart &operator<<(long long &val)
|
Uart &operator<<(const long long &val)
|
||||||
{
|
{
|
||||||
txNumber(val);
|
txNumber(val);
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
Uart &operator<<(unsigned long long &val)
|
Uart &operator<<(const unsigned long long &val)
|
||||||
{
|
{
|
||||||
txNumber(val);
|
txNumber(val);
|
||||||
return *this;
|
return *this;
|
||||||
|
|||||||
Reference in new issue
Block a user