Multisend is a replacement for servo. No synchronization is needed, just load and go.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

19 lines
354 B

#include "MultiSend.h"
bool MultiSend::HandleIncomingPacket(uint16_t id, uint32_t size, void* data, void* modified, bool blocked)
{
if (id == 0x00A)
{
if (strcmp(CurrentName.c_str(), (const char*)data + 0x84))
{
UpdateName(std::string((const char*)data + 0x84));
}
}
if (id == 0x00B)
{
Zoning = 1;
}
return false;
}