1
0
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:
William Woodall 2012-01-15 17:32:33 -06:00
parent 214b763664
commit 154ef46c20

View File

@ -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;
} }