From 7059fd523d6514d04e232f1d0acbc983856bd2e6 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 21 Jul 2015 19:10:32 +0100 Subject: first shipped version --- polycom_xmit/msg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'polycom_xmit/msg.c') 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; -- cgit v1.2.3