Project

General

Profile

Revision 1547

Added by Brad Neuman over 14 years ago

found one bug and changed some debug prints

View differences:

serial.c
68 68
  // - 9600 is U2X =1, UBRR = 107.
69 69

  
70 70
  if(usb_initd) {
71
    DRAGONFLY_DEBUG_PRINT("ERROR: usb already init'd\r\n");
71 72
    return ERROR_INIT_ALREADY_INITD;
72 73
  }
73 74

  
......
194 195
  char *t = s;
195 196

  
196 197
  if(!usb_initd) {
197
    DRAGONFLY_DEBUG_PRINT("ERROR: xbee not init'd\r\n"); 
198 198
    return ERROR_LIBRARY_NOT_INITD;
199 199
  }
200 200

  
......
216 216
    char buf;
217 217

  
218 218
    if(!usb_initd) {
219
      DRAGONFLY_DEBUG_PRINT("ERROR: xbee not init'd\r\n"); 
220 219
      return ERROR_LIBRARY_NOT_INITD;
221 220
    }
222 221
	

Also available in: Unified diff