You've already forked dspico-usb-examples
mirror of
https://github.com/LNH-team/dspico-usb-examples.git
synced 2026-01-09 16:27:56 -08:00
12 lines
273 B
C++
12 lines
273 B
C++
#include "common.h"
|
|
#include <libtwl/ipc/ipcFifoSystem.h>
|
|
#include "IpcService.h"
|
|
|
|
void IpcService::Start()
|
|
{
|
|
ipc_setChannelHandler(_ipcChannel, [] (u32 channel, u32 data, void* arg)
|
|
{
|
|
static_cast<IpcService*>(arg)->OnMessageReceived(data);
|
|
}, this);
|
|
}
|