livoxGen1: Make use of livoxProto1_getPcloudDataFdDesc

This commit is contained in:
2025-11-02 19:16:22 -04:00
parent b3bf0e2cb9
commit d88dd2cf44
5 changed files with 38 additions and 34 deletions
@@ -4,6 +4,7 @@
#include <livoxProto1/device.h>
#include "ioUringAssemblyEngine.h"
#include "pcloudStimulusBuffer.h"
#include "livoxGen1.h"
namespace smo {
namespace stim_buff {
@@ -44,7 +45,8 @@ bool IoUringAssemblyEngine::setup()
{ return false; }
// Get UDP socket file descriptor
int udpFd = parent.device->pcloudDataSocketDesc->native_handle();
int udpFd = (*livoxProto1.livoxProto1_getPcloudDataFdDesc)()
->native_handle();
if (udpFd < 0)
{ return false; }