Skip to content

Commit

Permalink
fix: 放过l_sensor_ws2812b里的2个未使用变量
Browse files Browse the repository at this point in the history
  • Loading branch information
wendal committed Dec 7, 2024
1 parent 9654ec5 commit 5aacd5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion luat/modules/luat_lib_sensor.c
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ static int l_sensor_ws2812b(lua_State *L)
volatile uint32_t t0l_temp,t0l = luaL_checkinteger(L, 4);
volatile uint32_t t1h_temp,t1h = luaL_checkinteger(L, 5);
volatile uint32_t t1l_temp,t1l = luaL_checkinteger(L, 6);

(void)t1h_temp;(void)t0h_temp;
luat_gpio_mode(pin, Luat_GPIO_OUTPUT, Luat_GPIO_PULLUP, Luat_GPIO_LOW);
pulse_level = 0 ;
luat_gpio_pulse(pin,&pulse_level,2,t0h);
Expand Down

0 comments on commit 5aacd5d

Please sign in to comment.