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