mirror of
https://github.com/esphome/esphome.git
synced 2024-12-29 00:41:44 +01:00
Update lora.cpp
This commit is contained in:
parent
8922ab51d7
commit
0c0997198d
1 changed files with 2 additions and 2 deletions
|
@ -126,8 +126,8 @@ void Lora::dump_config() {
|
|||
};
|
||||
void Lora::digital_write(uint8_t pin, bool value) {
|
||||
ESP_LOGD(TAG, "Starting to write message");
|
||||
std::string message = str_snprintf("%02x%02x", 9, pin, value);
|
||||
sendMessage(message);
|
||||
// std::string message = str_snprintf("%02x%02x", 9, pin, value);
|
||||
sendMessage("bla");
|
||||
}
|
||||
bool Lora::sendMessage(std::string message) {
|
||||
uint8_t size = message.length();
|
||||
|
|
Loading…
Reference in a new issue