const char

This commit is contained in:
Daniël Koek 2024-10-10 17:56:38 +01:00
parent 4eb22646c5
commit 4dddf6dd41
2 changed files with 2 additions and 2 deletions

View file

@ -382,7 +382,7 @@ void EbyteLoraComponent::set_mode_(ModeType mode) {
}
this->config_mode_ = mode;
}
bool EbyteLoraComponent::can_send_message_(char *info) {
bool EbyteLoraComponent::can_send_message_(const char *info) {
// High means no more information is needed
if (this->pin_aux_->digital_read()) {
this->flush();

View file

@ -106,7 +106,7 @@ class EbyteLoraComponent : public PollingComponent, public uart::UARTDevice {
void send_data_(bool all);
void request_repeater_info_();
void send_repeater_info_();
bool can_send_message_(char *info);
bool can_send_message_(const char *info);
protected:
bool updated_{};