瀏覽代碼

fix: pins, sdio的数据脚复用没生效

??? 3 月之前
父節點
當前提交
17fd639839
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      components/pins/src/luat_pins.c

+ 2 - 0
components/pins/src/luat_pins.c

@@ -230,6 +230,8 @@ static luat_pin_peripheral_function_description_u luat_pin_function_analyze(char
 					if (string[5] >= '0' && string[5] <= '3')
 					{
 						function_id = string[5] - '0';
+						description.function_id = function_id;
+						goto LUAT_PIN_FUNCTION_ANALYZE_DONE;
 					}
 					break;
 				}