mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-22 01:11:42 +00:00
Adds StopNotifier and StopRpcServer functions
Workaround for #30. Allows libraries to shut down the secondary threads.
This commit is contained in:
@@ -333,6 +333,14 @@ void NT_StopClient(void) {
|
||||
nt::StopClient();
|
||||
}
|
||||
|
||||
void NT_StopRpcServer(void) {
|
||||
nt::StopRpcServer();
|
||||
}
|
||||
|
||||
void NT_StopNotifier(void) {
|
||||
nt::StopNotifier();
|
||||
}
|
||||
|
||||
void NT_SetUpdateRate(double interval) {
|
||||
nt::SetUpdateRate(interval);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user