mirror of
https://github.com/esphome/esphome.git
synced 2024-12-29 00:41:44 +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 lora {
|
||||
|
||||
static const char *const TAG = "lora.pin";
|
||||
static const char *const TAGPin = "lora.pin";
|
||||
void LoraGPIOPin::setup() { pin_mode(flags_); }
|
||||
void LoraGPIOPin::pin_mode(gpio::Flags flags) {
|
||||
if (flags != gpio::FLAG_OUTPUT) {
|
||||
ESP_LOGD(TAG, "Output only supported");
|
||||
ESP_LOGD(TAGPin, "Output only supported");
|
||||
}
|
||||
}
|
||||
bool LoraGPIOPin::digital_read() { return false; }
|
||||
|
|
Loading…
Reference in a new issue