Merge pull request #131 from c1728p9/fix_serial_callbacks

Update Callback to fix fault in serial interrupts
Martin Kojtal 2016-05-25 07:56:19 +01:00
commit a386819bf7
1 changed files with 3 additions and 0 deletions

View File

@ -796,6 +796,9 @@ public:
/** Call the attached function
*/
R call() {
if (NULL == _thunk) {
return (R)0;
}
return _thunk(_obj, &_func);
}