This commit is contained in:
2026-02-14 14:31:31 +01:00
parent b772b91e6e
commit 6e5d32bc16
+1 -1
View File
@@ -17,7 +17,7 @@ GPIO::~GPIO()
void GPIO::configure_pin(Direction dir, uint8_t gpio) void GPIO::configure_pin(Direction dir, uint8_t gpio)
{ {
#if defined(__linux__) && (defined(__aarch64__) || defined(__x86_64__)) #if defined(__linux__) && (defined(__aarch64__) || defined(__x86_64__))
if (m_request.get() != nullptr) if (m_request.get() != nullptr)
return; return;
std::filesystem::path chip_path("/dev/gpiochip0"); std::filesystem::path chip_path("/dev/gpiochip0");