X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=arducontrol%2Fmotorola.c;h=33cf1c0a9209054391b6c380000cdf34ce1ebd85;hb=5ee5a22903f8059bf38bc8b2041eb18dfc58bcf0;hp=5bf15ad9e37ed8422cd93f063d128d34c0beada9;hpb=b47b38e9dd282c5f8fb1ded25ade805e64d0cf1a;p=model-railway-devices.git diff --git a/arducontrol/motorola.c b/arducontrol/motorola.c index 5bf15ad..33cf1c0 100644 --- a/arducontrol/motorola.c +++ b/arducontrol/motorola.c @@ -125,7 +125,7 @@ void motorola_solenoid_packet(uint8_t addr, uint8_t output, uint8_t state) packet.ready = 1; } -uint8_t motorola_command() +uint8_t motorola_command(void) { if(cmd_buf[0]==MOTOROLA_SPEED || cmd_buf[0]==MOTOROLA_SPEED_DIRECTION || cmd_buf[0]==MOTOROLA_SPEED_FUNCTION) {