mirror of
https://github.com/Sani7/remote-ui.git
synced 2026-10-26 21:51:13 +01:00
Lint
This commit is contained in:
@@ -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");
|
||||||
|
|||||||
Reference in New Issue
Block a user