Project

General

Profile

Revision 508

position updating in separate thread. incomplete SIGINT handler

View differences:

colonet_dragonfly.c
172 172
      break;
173 173
    }
174 174
  } else if (type == COLONET_COMMAND) {
175
    usb_puts("type is colonet command...\n");
175
    usb_puts("colonet command...\n");
176 176

  
177 177
/* TODO uncomment this stuff */
178 178
/*     if (pkt.msg_code >= USER_DEFINED_MSG_ID_START && */
......
193 193
    case SERVER_REPORT_POSITION_TO_ROBOT:
194 194
      robot_x = int_args[0];
195 195
      robot_y = int_args[1];
196

  
197
      sprintf(buf, "my position is: %d %d\n", robot_x, robot_y);
198
      usb_puts(buf);
196 199
      break;
197 200

  
198 201
    case MOVE_TO_ABSOLUTE_POSITION:

Also available in: Unified diff