Browse Source

fix: libgnss总是没有关联编译

Wendal Chen 4 years ago
parent
commit
a7f0f49b22
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/port/luat_base_air101.c

+ 1 - 1
app/port/luat_base_air101.c

@@ -114,7 +114,7 @@ static const luaL_Reg loadedlibs[] = {
   // {"mqttcore",luaopen_mqttcore},          // MQTT 协议封装
   // {"libcoap", luaopen_libcoap},           // 处理COAP消息
 
-#ifdef LUAT_USE_GNSS
+#ifdef LUAT_USE_LIBGNSS
   {"libgnss", luaopen_libgnss},           // 处理GNSS定位数据
 #endif
 #ifdef LUAT_USE_FS