Skip to content
Permalink
Browse files

When opening a new osc device, tell device to communicate on device s…

…erver's port
  • Loading branch information
murray
murray committed Oct 18, 2015
1 parent b7d6d83 commit d7ab5ca3ac5cc85d107401eb1bc59df3c19a3847
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/proto/osc.c
@@ -232,6 +232,7 @@ static int proto_osc_open(monome_t *monome, const char *dev,
return 1;
}

lo_send_from(self->outgoing, self->server, LO_TT_IMMEDIATE, "/sys/port","i",atoi(port));
#define ASPRINTF_OR_BAIL(...) do { \
if (asprintf(__VA_ARGS__) < 0) \
return -1; \

0 comments on commit d7ab5ca

Please sign in to comment.