samples: ipc: openamp_rsc_table: conditional virtio ID sent on IPM device
Some IPM devices return an error if we request to transfer data.
Use IPM_MAX_DATA_SIZE to determine if the virtio ID can be transferred
through the IPM device.
Send data to IPM only if CONFIG_IPM_MAX_DATA_SIZE is not zero.
Signed-off-by:
Arnaud Pouliquen <arnaud.pouliquen@foss.st.com>
Loading
Please sign in to comment