shstk #37

Merged
andrey merged 5 commits from shstk into master 2020-09-08 15:13:36 +03:00
3 changed files with 1 additions and 6 deletions
Showing only changes of commit e6bc9638e7 - Show all commits

View File

@@ -43,6 +43,7 @@ PICAN::PICAN(const PIString & path, PIIODevice::DeviceMode mode) : PIIODevice(pa
setThreadedReadBufferSize(256);
setPath(path);
can_id = 0;
sock = 0;
}

View File

@@ -26,10 +26,6 @@
# include <unistd.h>
# include <cstdlib>
#endif
#ifdef __GNUC__
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wunused-but-set-variable"
#endif
/*! \class PIGPIO

View File

@@ -56,8 +56,6 @@ private:
std::atomic_bool isShutdown_;
PIBlockingQueue<std::function<void()> > taskQueue;
PIVector<PIThread*> threadPool;
bool queue_own;
};
#endif // PITHREADPOOLEXECUTOR_H