Project

General

Profile

Revision 1289

Fixed messages: newline at the end

View differences:

trunk/code/projects/diagnostic_station/station/hardware_turntable.c
9 9
  // get a reading to check alignment
10 10
  e = encoder_read(LEFT);
11 11
  if(e==ENCODER_MAGNET_FAILURE)
12
    usb_puts("# ERROR: turntable encoder magnet failure!!");
12
    usb_puts("# ERROR: turntable encoder magnet failure!!" NL);
13 13
  else if(e==ENCODER_MISALIGNED)
14
    usb_puts("# ERROR: turntable encoder misaligned!!");
14
    usb_puts("# ERROR: turntable encoder misaligned!!" NL);
15 15
  else if(e==ENCODER_DATA_NOT_READY)
16
    usb_puts("# ERROR: turntable encoder data not ready!!");
16
    usb_puts("# ERROR: turntable encoder data not ready!!" NL);
17 17
  else
18
    usb_puts("# Turntable encoder initialized");
18
    usb_puts("# Turntable encoder initialized" NL);
19 19

  
20 20
  motors_init();
21 21
}

Also available in: Unified diff