mirror of
https://github.com/esphome/esphome.git
synced 2024-11-24 16:08:10 +01:00
Update lora_pin.cpp
This commit is contained in:
parent
f213e1a411
commit
b5912c7d6e
1 changed files with 2 additions and 2 deletions
|
@ -4,11 +4,11 @@
|
||||||
namespace esphome {
|
namespace esphome {
|
||||||
namespace lora {
|
namespace lora {
|
||||||
|
|
||||||
static const char *const TAG = "lora.pin";
|
static const char *const TAGPin = "lora.pin";
|
||||||
void LoraGPIOPin::setup() { pin_mode(flags_); }
|
void LoraGPIOPin::setup() { pin_mode(flags_); }
|
||||||
void LoraGPIOPin::pin_mode(gpio::Flags flags) {
|
void LoraGPIOPin::pin_mode(gpio::Flags flags) {
|
||||||
if (flags != gpio::FLAG_OUTPUT) {
|
if (flags != gpio::FLAG_OUTPUT) {
|
||||||
ESP_LOGD(TAG, "Output only supported");
|
ESP_LOGD(TAGPin, "Output only supported");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
bool LoraGPIOPin::digital_read() { return false; }
|
bool LoraGPIOPin::digital_read() { return false; }
|
||||||
|
|
Loading…
Reference in a new issue