Update ebyte_lora.cpp

This commit is contained in:
Daniël Koek 2024-05-17 16:00:21 +01:00
parent 2b8509267f
commit 5a404d98fc

View file

@ -251,7 +251,7 @@ void EbyteLoraComponent::set_config_() {
// this-> set_mode_(CONFIGURATION) // this-> set_mode_(CONFIGURATION)
// this->write_array(data, sizeof(data)); // this->write_array(data, sizeof(data));
// this->setup_wait_response_(5000); // this->setup_wait_response_(5000);
for (int i = 0; i < sizeof(data); i++) { for (int i = 0; i <= sizeof(data); i++) {
ESP_LOGD(TAG, "values: %c%c%c%c%c%c%c%c", BYTE_TO_BINARY(data[i])); ESP_LOGD(TAG, "values: %c%c%c%c%c%c%c%c", BYTE_TO_BINARY(data[i]));
} }
} }