-#include "interface.h"
+#include "commands.h"
#include "motorola.h"
#include "output.h"
packet.ready = 1;
}
-uint8_t motorola_command()
+uint8_t motorola_command(const uint8_t *cmd_buf, uint8_t cmd_length)
{
if(cmd_buf[0]==MOTOROLA_SPEED || cmd_buf[0]==MOTOROLA_SPEED_DIRECTION || cmd_buf[0]==MOTOROLA_SPEED_FUNCTION)
{