Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Duet3D/RepRapFirmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/RepRapFirmware.h')
-rw-r--r--src/RepRapFirmware.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/RepRapFirmware.h b/src/RepRapFirmware.h
index 5bb7529c..d67837c3 100644
--- a/src/RepRapFirmware.h
+++ b/src/RepRapFirmware.h
@@ -507,8 +507,10 @@ const FilePosition noFilePosition = 0xFFFFFFFF;
const uint32_t NvicPriorityWatchdog = 0; // the secondary watchdog has the highest priority
#if SAME5x
-const uint32_t NvicPriorityPanelDueUart = 3; // the SAME5x driver makes FreeRTOS calls
-const uint32_t NvicPriorityWiFiUart = 3; // UART used to receive debug data from the WiFi module
+const uint32_t NvicPriorityPanelDueUartRx = 1; // UART used to receive data from PanelDue or other serial input
+const uint32_t NvicPriorityPanelDueUartTx = 3; // the SAME5x driver makes FreeRTOS calls during transmission, so use a lower priority
+const uint32_t NvicPriorityWiFiUartRx = 2; // UART used to receive debug data from the WiFi module
+const uint32_t NvicPriorityWiFiUartTx = 3; // the SAME5x driver makes FreeRTOS calls during transmission, so use a lower priority
#else
const uint32_t NvicPriorityPanelDueUart = 1; // UART is highest to avoid character loss (it has only a 1-character receive buffer)
const uint32_t NvicPriorityWiFiUart = 2; // UART used to receive debug data from the WiFi module