Skip to content

Commit 2fe15c1

Browse files
committed
[MP1] Fix redefinition
Signed-off-by: Frederic Pillon <[email protected]>
1 parent 5c9ea25 commit 2fe15c1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: cores/arduino/stm32/OpenAMP/rsc_table.c

+3-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@
2929
#define VRING_COUNT 2
3030

3131
/* VirtIO rpmsg device id */
32-
#define VIRTIO_ID_RPMSG 7
32+
#ifndef VIRTIO_ID_RPMSG
33+
#define VIRTIO_ID_RPMSG 7
34+
#endif
3335

3436
#if defined (VIRTIO_LOG)
3537
extern char virtio_log_buffer[];

0 commit comments

Comments
 (0)