mirror of
https://github.com/g4klx/MMDVM.git
synced 2026-04-05 14:37:02 +00:00
Remove const's for MBED.
This commit is contained in:
parent
6bf70a9595
commit
1e7b5a7951
2 changed files with 11 additions and 11 deletions
|
|
@ -72,7 +72,7 @@ m_len(0U)
|
|||
{
|
||||
}
|
||||
|
||||
void CSerialPort::sendACK() const
|
||||
void CSerialPort::sendACK()
|
||||
{
|
||||
uint8_t reply[4U];
|
||||
|
||||
|
|
@ -84,7 +84,7 @@ void CSerialPort::sendACK() const
|
|||
write(reply, 4);
|
||||
}
|
||||
|
||||
void CSerialPort::sendNAK(uint8_t err) const
|
||||
void CSerialPort::sendNAK(uint8_t err)
|
||||
{
|
||||
uint8_t reply[5U];
|
||||
|
||||
|
|
@ -97,7 +97,7 @@ void CSerialPort::sendNAK(uint8_t err) const
|
|||
write(reply, 5);
|
||||
}
|
||||
|
||||
void CSerialPort::getStatus() const
|
||||
void CSerialPort::getStatus()
|
||||
{
|
||||
io.resetWatchdog();
|
||||
|
||||
|
|
@ -153,7 +153,7 @@ void CSerialPort::getStatus() const
|
|||
write(reply, 10);
|
||||
}
|
||||
|
||||
void CSerialPort::getVersion() const
|
||||
void CSerialPort::getVersion()
|
||||
{
|
||||
uint8_t reply[100U];
|
||||
|
||||
|
|
@ -676,7 +676,7 @@ void CSerialPort::writeCalData(const uint8_t* data, uint8_t length)
|
|||
write(reply, count);
|
||||
}
|
||||
|
||||
void CSerialPort::write(const uint8_t* data, uint16_t length, bool flush) const
|
||||
void CSerialPort::write(const uint8_t* data, uint16_t length, bool flush)
|
||||
{
|
||||
#if defined(__MBED__)
|
||||
for (uint16_t i = 0U; i < length; i++)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue