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.
Revision 2:8717baf6e00a, committed 2013-05-02
- Comitter:
- dudmuck
- Date:
- Thu May 02 00:39:38 2013 +0000
- Parent:
- 1:67a841d57890
- Commit message:
- added SERVICE_TX_DONE
Changed in this revision
sx1232.cpp | Show annotated file Show diff for this revision Revisions of this file |
sx1232.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/sx1232.cpp Wed May 01 23:42:35 2013 +0000 +++ b/sx1232.cpp Thu May 02 00:39:38 2013 +0000 @@ -116,6 +116,7 @@ service_action = SERVICE_READ_FIFO; } else if (RegOpMode.bits.Mode == RF_OPMODE_TRANSMITTER) { set_opmode(RF_OPMODE_STANDBY); // this should be quick enough for ISR + service_action = SERVICE_TX_DONE; } break; case 1:
--- a/sx1232.h Wed May 01 23:42:35 2013 +0000 +++ b/sx1232.h Thu May 02 00:39:38 2013 +0000 @@ -334,8 +334,11 @@ typedef enum { SERVICE_NONE = 0, - SERVICE_ERROR, //! - SERVICE_READ_FIFO //! request to call read_fifo() + SERVICE_ERROR, + //! request to call read_fifo() + SERVICE_READ_FIFO, + //! notification to application of transmit complete + SERVICE_TX_DONE } service_action_e; /** FSK radio transceiver for 800/900MHz.