Use ARRAY_LEN() macro
This commit is contained in:
parent
8fb5715740
commit
1e64f0f931
1 changed files with 1 additions and 1 deletions
|
@ -306,7 +306,7 @@ execute_server(struct server *server, const struct server_params *params) {
|
||||||
// Port: 5005
|
// Port: 5005
|
||||||
// Then click on "Debug"
|
// Then click on "Debug"
|
||||||
#endif
|
#endif
|
||||||
return adb_execute(server->serial, cmd, sizeof(cmd) / sizeof(cmd[0]));
|
return adb_execute(server->serial, cmd, ARRAY_LEN(cmd));
|
||||||
}
|
}
|
||||||
|
|
||||||
static socket_t
|
static socket_t
|
||||||
|
|
Loading…
Reference in a new issue