Просмотр исходного кода

update:mobile g_band_list应该是static的

豆豆 3 месяцев назад
Родитель
Сommit
dfc93265aa
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      components/mobile/luat_mobile_common.c

+ 1 - 1
components/mobile/luat_mobile_common.c

@@ -205,7 +205,7 @@ typedef struct{
 	uint32_t max_earfcn;
 }earfcn_to_band_t;
 
-const earfcn_to_band_t g_band_list[] = {
+static const earfcn_to_band_t g_band_list[] = {
 	{1, 0, 599},
 	{2, 600, 1199},
 	{3, 1200, 1949},