mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-07-29 04:08:56 +00:00
parent
2faf9715be
commit
9d2e00697e
8 changed files with 141 additions and 144 deletions
|
@ -66,7 +66,7 @@ sc_controller_push_msg(struct sc_controller *controller,
|
|||
static bool
|
||||
process_msg(struct sc_controller *controller,
|
||||
const struct sc_control_msg *msg) {
|
||||
static unsigned char serialized_msg[CONTROL_MSG_MAX_SIZE];
|
||||
static unsigned char serialized_msg[SC_CONTROL_MSG_MAX_SIZE];
|
||||
size_t length = sc_control_msg_serialize(msg, serialized_msg);
|
||||
if (!length) {
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue