piserial should be fixed
This commit is contained in:
@@ -528,15 +528,15 @@ protected:
|
||||
virtual void threadedReadBufferSizeChanged() {;}
|
||||
|
||||
static PIIODevice * newDeviceByPrefix(const char * prefix);
|
||||
bool blockingReadFlag() const;
|
||||
void setBlockingReadFlag(bool yes);
|
||||
|
||||
|
||||
bool isThreadedReadStopping() const {return read_thread.isStopping();}
|
||||
|
||||
DeviceMode mode_;
|
||||
DeviceOptions options_;
|
||||
ReadRetFunc func_read = nullptr;
|
||||
bool opened_ = false;
|
||||
void * ret_data_ = nullptr;
|
||||
std::atomic_bool reading_now;
|
||||
|
||||
private:
|
||||
EVENT_HANDLER(void, read_func);
|
||||
@@ -554,7 +554,6 @@ private:
|
||||
PIQueue<PIPair<PIByteArray, ullong> > write_queue;
|
||||
ullong tri = 0;
|
||||
uint threaded_read_buffer_size, reopen_timeout = 1000;
|
||||
std::atomic_bool reading_now;
|
||||
bool reopen_enabled = true;
|
||||
|
||||
static PIMutex nfp_mutex;
|
||||
|
||||
Reference in New Issue
Block a user