mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-29 02:21:44 +00:00
UsbCamera: Solve race in windows initialization (#1638)
Create message pump during UsbCameraImpl creation.
This commit is contained in:
committed by
Peter Johnson
parent
7732836bd5
commit
7cd6e2e7fa
@@ -154,6 +154,8 @@ class UsbCameraImpl : public SourceImpl,
|
||||
int RawToPercentage(const UsbCameraProperty& rawProp, int rawValue);
|
||||
int PercentageToRaw(const UsbCameraProperty& rawProp, int percentValue);
|
||||
|
||||
void StartMessagePump();
|
||||
|
||||
//
|
||||
// Variables only used within camera thread
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user