The unified diff between revisions [4839c414..] and [9cb69bf6..] is displayed below. It can also be downloaded as a raw diff.
This diff has been restricted to the following files: 'src/lsi/dmx.c'
# # old_revision [4839c414876f813b3873cc350a8e42d6c01957fc] # new_revision [9cb69bf681632171c5140ab3801212de4c31e6b2] # # patch "src/lsi/dmx.c" # from [fd9f9e6aae06abf60b5def045a152dbb6ad9cf3a] # to [d291829ae082bb1bea5c8eb16cffc5f0ab62e22b] # ============================================================ --- src/lsi/dmx.c fd9f9e6aae06abf60b5def045a152dbb6ad9cf3a +++ src/lsi/dmx.c d291829ae082bb1bea5c8eb16cffc5f0ab62e22b @@ -92,7 +92,7 @@ out: printf("%x %x %x %x %x %x %x %x %x %x %x %x\n", buf[0], buf[1], buf[2], buf[3], buf[4], buf[5], buf[6], buf[7], buf[8], buf[9], buf[10], buf[11]); } -void dmx_init(void) +int dmx_init(void) { dmx_open(); dmxpacket[0] = 0x7e; @@ -104,6 +104,7 @@ void dmx_init(void) dmxpacket[DMX_UNIVERSESIZE+5] = 0xe7; dmxuniverse = dmxpacket+5; // dmx_dumpparams(); + return 1; } void dmx_setchannel(int channel, int value)