mirror of
https://github.com/tbnobody/OpenDTU.git
synced 2025-12-11 01:10:20 +01:00
Use correct signature for getMaxResendCount
This commit is contained in:
@@ -72,7 +72,7 @@ bool ChannelChangeCommand::handleResponse(const fragment_t fragment[], const uin
|
||||
return true;
|
||||
}
|
||||
|
||||
uint8_t ChannelChangeCommand::getMaxResendCount()
|
||||
uint8_t ChannelChangeCommand::getMaxResendCount() const
|
||||
{
|
||||
// This command will never retrieve an answer. Therefor it's not required to repeat it
|
||||
return 0;
|
||||
|
||||
@@ -17,5 +17,5 @@ public:
|
||||
|
||||
virtual bool handleResponse(const fragment_t fragment[], const uint8_t max_fragment_id);
|
||||
|
||||
virtual uint8_t getMaxResendCount();
|
||||
virtual uint8_t getMaxResendCount() const;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user