Procházet zdrojové kódy

[update]Compatible with serialV2 version.

guozhanxin před 3 roky
rodič
revize
100deb4286
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      port/portserial_m.c

+ 1 - 1
port/portserial_m.c

@@ -37,7 +37,7 @@ static struct rt_thread thread_serial_soft_trans_irq;
 /* serial event */
 static struct rt_event event_serial;
 /* modbus master serial device */
-static rt_serial_t *serial;
+static struct rt_serial_device *serial;
 
 /* ----------------------- Defines ------------------------------------------*/
 /* serial transmit event */