mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-15 04:19:26 -07:00
Add flags parameter to nearby actions
This commit is contained in:
@@ -129,7 +129,7 @@ void continuity_generate_packet(const ContinuityMsg* msg, uint8_t* packet) {
|
||||
break;
|
||||
|
||||
case ContinuityTypeNearbyAction:
|
||||
packet[i++] = 0xc1; // Action Flags
|
||||
packet[i++] = msg->data.nearby_action.flags; // Action Flags
|
||||
packet[i++] = msg->data.nearby_action.type;
|
||||
packet[i++] = (rand() % 256); // Authentication Tag
|
||||
packet[i++] = (rand() % 256); // ...
|
||||
|
||||
Reference in New Issue
Block a user