mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 17:03:58 +02:00
Merge branch 'master' of https://github.com/worklist/hifi into render_voxels_optimization
This commit is contained in:
commit
4f7adf7a05
2 changed files with 4 additions and 2 deletions
|
@ -100,7 +100,7 @@ int main(int argc, const char * argv[])
|
|||
std::map<char, Agent *> newestSoloAgents;
|
||||
|
||||
agentType = packetData[1];
|
||||
unpackSocket(&packetData[2], (sockaddr*) &agentLocalAddress);
|
||||
unpackSocket(packetData + 2, (sockaddr*) &agentLocalAddress);
|
||||
|
||||
// check the agent public address
|
||||
// if it matches our local address we're on the same box
|
||||
|
@ -125,7 +125,7 @@ int main(int argc, const char * argv[])
|
|||
refreshedAgent->setWakeMicrostamp(usecTimestampNow());
|
||||
}
|
||||
|
||||
currentBufferPos = broadcastPacket + 2;
|
||||
currentBufferPos = broadcastPacket + 1;
|
||||
startPointer = currentBufferPos;
|
||||
|
||||
for (AgentList::iterator agent = agentList->begin(); agent != agentList->end(); agent++) {
|
||||
|
|
|
@ -34,7 +34,9 @@ const int GRAVITY_SAMPLES = 200; // Use the first samples to
|
|||
const bool USING_INVENSENSE_MPU9150 = 1;
|
||||
|
||||
SerialInterface::~SerialInterface() {
|
||||
#ifdef __APPLE__
|
||||
close(_serialDescriptor);
|
||||
#endif
|
||||
}
|
||||
|
||||
void SerialInterface::pair() {
|
||||
|
|
Loading…
Reference in a new issue