Trond Enger / d7a_1x

Fork of d7a_1x by WizziLab

Revision:
71:f03727ff0f99
Parent:
70:07b378285c95
Child:
76:fda2e34ff19d
--- a/src/d7a_com.cpp	Thu Nov 03 10:56:17 2016 +0000
+++ b/src/d7a_com.cpp	Wed Nov 09 10:49:58 2016 +0000
@@ -163,8 +163,8 @@
     g_com_ctx.serial->format(8, SerialBase::None, 1);
     g_com_ctx.serial->attach(&rx_isr, Serial::RxIrq);
     
-    g_com_ctx.tx_thread =       new Thread(d7a_com_tx_thread, NULL, osPriorityHigh, DEFAULT_STACK_SIZE*3);
-    g_com_ctx.rx_thread =       new Thread(d7a_com_rx_thread, NULL, osPriorityHigh, DEFAULT_STACK_SIZE*3);
+    g_com_ctx.tx_thread =       new Thread(d7a_com_tx_thread, NULL, osPriorityHigh, DEFAULT_STACK_SIZE*4);
+    g_com_ctx.rx_thread =       new Thread(d7a_com_rx_thread, NULL, osPriorityHigh, DEFAULT_STACK_SIZE*4);
     
     return D7A_ERR_NONE;
 }