Skip to content

Commit

Permalink
SUKU random renamed to random8
Browse files Browse the repository at this point in the history
  • Loading branch information
SukuWc committed Aug 30, 2024
1 parent 13f1fa0 commit 6f98a7e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion grid_common/grid_lua_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -1108,7 +1108,7 @@
return 1;
}

/*static*/ int l_grid_random(lua_State* L) {
/*static*/ int l_grid_random8(lua_State* L) {

int nargs = lua_gettop(L);

Expand Down
2 changes: 1 addition & 1 deletion grid_common/grid_lua_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ extern void grid_platform_delay_ms(uint32_t delay_milliseconds);
/*static*/ int l_grid_version_minor(lua_State* L);
/*static*/ int l_grid_version_patch(lua_State* L);
/*static*/ int l_grid_hwcfg(lua_State* L);
/*static*/ int l_grid_random(lua_State* L);
/*static*/ int l_grid_random8(lua_State* L);
/*static*/ int l_grid_position_x(lua_State* L);
/*static*/ int l_grid_position_y(lua_State* L);
/*static*/ int l_grid_rotation(lua_State* L);
Expand Down
4 changes: 2 additions & 2 deletions grid_common/grid_protocol.h
Original file line number Diff line number Diff line change
Expand Up @@ -269,8 +269,8 @@
#define GRID_LUA_FNC_G_GAMEPADBUTTON_SEND_fnptr l_grid_gamepadbutton_send

#define GRID_LUA_FNC_G_RANDOM_short "grnd"
#define GRID_LUA_FNC_G_RANDOM_human "random"
#define GRID_LUA_FNC_G_RANDOM_fnptr l_grid_random
#define GRID_LUA_FNC_G_RANDOM_human "random8"
#define GRID_LUA_FNC_G_RANDOM_fnptr l_grid_random8

#define GRID_LUA_FNC_G_HWCFG_short "ghwcfg"
#define GRID_LUA_FNC_G_HWCFG_human "hardware_configuration"
Expand Down

0 comments on commit 6f98a7e

Please sign in to comment.