leds: rgb: wago-m4-led-wrapper: fix RPMsg endpoint name
Change the RPMsg endpoint name from the generic "rpmsg-tty" to "wago-led" to match the endpoint announced by the Zephyr wago-led-server-app, which is required to establish the channel. Add a comment noting that the name must stay in sync with RPMSG_TTY_NAME in the Zephyr application source. Signed-off-by: Heinrich Toews <ht@twx-software.de>
This commit is contained in:
@@ -67,8 +67,9 @@
|
||||
|
||||
#define DRIVER_NAME "wago-m4-led-wrapper"
|
||||
|
||||
/* Endpoint name announced by the Zephyr app via RPMsg name-service */
|
||||
#define WAGO_RPMSG_EPT_NAME "rpmsg-tty"
|
||||
/* Endpoint name announced by the Zephyr app via RPMsg name-service.
|
||||
* Must match RPMSG_TTY_NAME in the Zephyr wago-led-server-app/src/main.c */
|
||||
#define WAGO_RPMSG_EPT_NAME "wago-led"
|
||||
|
||||
#define WAGO_LED_NUM_LEDS 10
|
||||
#define WAGO_LED_NUM_CHANNELS 3 /* R, G, B */
|
||||
|
||||
Reference in New Issue
Block a user