summaryrefslogtreecommitdiffstats
path: root/polycom_xmit/msg.c
diff options
context:
space:
mode:
Diffstat (limited to 'polycom_xmit/msg.c')
-rw-r--r--polycom_xmit/msg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/polycom_xmit/msg.c b/polycom_xmit/msg.c
index 92931e4..f990a41 100644
--- a/polycom_xmit/msg.c
+++ b/polycom_xmit/msg.c
@@ -4,12 +4,12 @@ static struct espconn udp;
void ICACHE_FLASH_ATTR
-msg_send (uint32_t v)
+msg_send (int red, int green, uint32_t v)
{
char buf[32];
size_t len;
- len = os_sprintf (buf, "%x\r\n", v);
+ len = os_sprintf (buf, "%d,%d,%x\r\n", red,green,v);
udp.proto.udp->remote_port = 29153;