GNSS

Dependents:   ublox-at-cellular-interface-ext

Fork of ublox-at-cellular-interface by u-blox

Revision:
19:2b30a056ae54
Parent:
15:8cc9a80ac0ad
Child:
20:7b033423126c
--- 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));