more literals, use some in PIP, small refactor PIThread::start (clang-format mistakes)
This commit is contained in:
@@ -28,6 +28,7 @@
|
||||
# include <fcntl.h>
|
||||
# include <unistd.h>
|
||||
#endif
|
||||
#include "piliterals.h"
|
||||
|
||||
|
||||
//! \class PIGPIO pigpio.h
|
||||
@@ -71,7 +72,7 @@ PIGPIO::PIGPIO(): PIThread() {}
|
||||
|
||||
PIGPIO::~PIGPIO() {
|
||||
stop();
|
||||
waitForFinish(100);
|
||||
waitForFinish(100_ms);
|
||||
PIMutexLocker ml(mutex);
|
||||
#ifdef GPIO_SYS_CLASS
|
||||
PIVector<int> ids = gpio_.keys();
|
||||
|
||||
Reference in New Issue
Block a user