Callum and Adel's changes on 12/02/19
Dependencies: Crypto
Revision 22:efa60ca0bfb7, committed 2019-03-16
- Comitter:
- adehadd
- Date:
- Sat Mar 16 13:27:17 2019 +0000
- Parent:
- 21:b296db05483d
- Child:
- 23:ab1cb51527d1
- Commit message:
- minor changes;
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Sat Mar 16 12:29:43 2019 +0000 +++ b/main.cpp Sat Mar 16 13:27:17 2019 +0000 @@ -304,7 +304,9 @@ volatile uint64_t newKey; // hash key Mutex newKey_mutex; // Restrict access to prevent deadlock. - Comm() : pc(SERIAL_TX, SERIAL_RX) { // inherit from the RawSerial constructor + Comm() : pc(SERIAL_TX, SERIAL_RX), + t_comm_out(osPriorityAboveNormal, 1024) + { // inherit from the RawSerial constructor pc.printf("%s\n\r", "Welcome" ); MAXCMDLENGTH = 18; @@ -333,7 +335,7 @@ pc.attach(callback(this, &Comm::serialISR)); // Thread t_comm_in(osPriorityAboveNormal, 1024); - Thread t_comm_out(osPriorityAboveNormal, 1024); + // Thread t_comm_out(osPriorityAboveNormal, 1024); // Thread t_motor_ctrl(osPriorityAboveNormal, 1024); motorPower = 300;