|
|
@@ -29,8 +29,12 @@
|
|
|
|
|
|
#if MB_MASTER_RTU_ENABLED > 0 || MB_MASTER_ASCII_ENABLED > 0
|
|
|
/* ----------------------- Static variables ---------------------------------*/
|
|
|
-ALIGN(RT_ALIGN_SIZE)
|
|
|
/* software simulation serial transmit IRQ handler thread stack */
|
|
|
+#ifdef rt_align
|
|
|
+rt_align(RT_ALIGN_SIZE)
|
|
|
+#else
|
|
|
+ALIGN(RT_ALIGN_SIZE)
|
|
|
+#endif
|
|
|
static rt_uint8_t serial_soft_trans_irq_stack[512];
|
|
|
/* software simulation serial transmit IRQ handler thread */
|
|
|
static struct rt_thread thread_serial_soft_trans_irq;
|