Ika Shouyu Poppoyaki - LPC82x supported
Fork of ika_shouyu_poppoyaki by
Diff: main.cpp
- Revision:
- 35:0b434ef4af49
- Parent:
- 34:eaca33d3e632
- Child:
- 37:4cd12c9c1cc2
--- a/main.cpp Thu Sep 26 11:51:03 2013 +0000 +++ b/main.cpp Thu Sep 26 12:56:01 2013 +0000 @@ -30,6 +30,9 @@ LocalFileSystem local( "local" ); +#define SUMMARY_MESSAGE_FAIL "** The data could not be " WHAT_WAS_DONE " :(" +#define SUMMARY_MESSAGE_SUCCESS "** The data has been " WHAT_WAS_DONE " successflly :)" + int main() { int err; @@ -40,8 +43,8 @@ printf( "\r\n %s\r\n\r\n", err ? - "** The data could not be written :(" : - "** The data has been written successflly :)" + SUMMARY_MESSAGE_FAIL : + SUMMARY_MESSAGE_SUCCESS ); if ( err ) @@ -52,11 +55,11 @@ start_target_in_normal_mode( TARGET_OPERATION_BAUD_RATE ); printf( " ** The program in flash has been started!!\r\n" ); - + #endif printf( " (now the mbed is working in \"serial through mode\")\r\n\r\n" ); - + start_success_indicator(); usb_serial_bridge_operation(); // doesn't return. infinite loop in this function }