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.
Diff: UbloxATCellularInterface.cpp
- Revision:
- 16:2b30a056ae54
- Parent:
- 15:8cc9a80ac0ad
- Child:
- 17:7b033423126c
diff -r 8cc9a80ac0ad -r 2b30a056ae54 UbloxATCellularInterface.cpp
--- a/UbloxATCellularInterface.cpp Mon Mar 26 15:33:40 2018 +0100
+++ b/UbloxATCellularInterface.cpp Tue Oct 30 18:15:09 2018 +0000
@@ -938,7 +938,8 @@
UbloxATCellularInterface::UbloxATCellularInterface(PinName tx,
PinName rx,
int baud,
- bool debug_on)
+ bool debug_on,
+ osPriority priority)
{
_sim_pin_check_change_pending = false;
_sim_pin_check_change_pending_enabled_value = false;
@@ -969,6 +970,7 @@
// Start the event handler thread for Rx data
event_thread.start(callback(this, &UbloxATCellularInterface::handle_event));
+ event_thread.set_priority(priority);
// URC handlers for sockets
_at->oob("+UUSORD", callback(this, &UbloxATCellularInterface::UUSORD_URC));