mirror of
https://github.com/wjwwood/serial.git
synced 2026-01-23 04:04:54 +08:00
Fixing exception handler setting function
This commit is contained in:
parent
214b763664
commit
154ef46c20
@ -470,7 +470,7 @@ public:
|
|||||||
* \see serial::ExceptionCallback
|
* \see serial::ExceptionCallback
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
setWarningHandler (ExceptionCallback exception_handler) {
|
setExceptionHandler (ExceptionCallback exception_handler) {
|
||||||
this->handle_exc = exception_handler;
|
this->handle_exc = exception_handler;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user