summaryrefslogtreecommitdiffstats
path: root/polycom_xmit/msg.c
diff options
context:
space:
mode:
authorroot <root@no.no.james.local>2015-07-21 19:10:32 +0100
committerroot <root@no.no.james.local>2015-07-21 19:10:32 +0100
commit7059fd523d6514d04e232f1d0acbc983856bd2e6 (patch)
treed829ee3848ca259f11888d06e2d13b08e445811c /polycom_xmit/msg.c
parent07954220f12e6600bc2ab9689262e4e8d80994d7 (diff)
downloadpolycom-7059fd523d6514d04e232f1d0acbc983856bd2e6.tar.gz
polycom-7059fd523d6514d04e232f1d0acbc983856bd2e6.tar.bz2
polycom-7059fd523d6514d04e232f1d0acbc983856bd2e6.zip
first shipped version
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;