fixed the inches->mm conversion bug and some general cleanup

This commit is contained in:
Simen Svale Skogsrud
2010-07-03 00:23:28 +02:00
parent f93d0e8132
commit d0f64d8f65
3 changed files with 4 additions and 8 deletions

View File

@@ -20,13 +20,9 @@
#ifndef serial_h
#define serial_h
// A string to let the client know we are ready for a new command
#define PROMPT "\r\n>>>"
// A character to acknowledge that the execution has started
#define EXECUTION_MARKER '~'
// Initialize the serial protocol
void sp_init();
// Read command lines from the serial port and execute them as they
// come in. Blocks until the serial buffer is emptied.
void sp_process();