Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: FreePilot PinDetect mbed-src
Fork of FreePilot_V2-2 by
Diff: ISR_TX.cpp
- Revision:
- 18:21ef26402365
- Parent:
- 12:8c7394e2ae7f
--- a/ISR_TX.cpp Tue Mar 08 01:42:25 2011 +0000
+++ b/ISR_TX.cpp Thu Apr 21 09:20:41 2011 +0000
@@ -29,7 +29,7 @@
MODSERIAL::isr_tx(bool doCallback)
{
if (! _base || buffer_size[TxIrq] == 0 || buffer[TxIrq] == (char *)NULL) {
- _isr[TxIrq].call();
+ _isr[TxIrq].call(&this->callbackInfo);
return;
}
@@ -40,12 +40,12 @@
if (buffer_out[TxIrq] >= buffer_size[TxIrq]) {
buffer_out[TxIrq] = 0;
}
- if (doCallback) _isr[TxIrq].call();
+ if (doCallback) _isr[TxIrq].call(&this->callbackInfo);
}
if ( MODSERIAL_TX_BUFFER_EMPTY ) {
_IER = 1;
- _isr[TxEmpty].call();
+ _isr[TxEmpty].call(&this->callbackInfo);
}
}
