Explorar el Código

【增加】PPP_DEVICE 版本号

Signed-off-by: liuxianliang <liuxianliang@rt-thread.com>
liuxianliang hace 6 años
padre
commit
4e960e472d
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4 0
      inc/ppp_device.h

+ 4 - 0
inc/ppp_device.h

@@ -41,6 +41,10 @@
 #define PPP_FRAME_MAX       1550
 #define PPP_DROP_BUF        PPP_FRAME_MAX
 
+
+#define PPP_DEVICE_SW_VERSION           "1.0.0"
+#define PPP_DEVICE_SW_VERSION_NUM       0x10000
+
 enum ppp_trans_type
 {
     PPP_TRANS_CHAT,