Browse Source

fixed gpio init

old
Robin Thoni 9 years ago
parent
commit
8f2a2d81be
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      server/gpiomanager.cpp

+ 1
- 1
server/gpiomanager.cpp View File

@@ -11,7 +11,7 @@ GpioManager::~GpioManager()
11 11
 
12 12
 bool GpioManager::init(const QVariant &pins)
13 13
 {
14
-    if (!wiringPiSetupPhys())
14
+    if (wiringPiSetupPhys())
15 15
         return false;
16 16
     auto list = pins.toList();
17 17
     foreach (auto pin, list)

Loading…
Cancel
Save