Kabuki Starship / Mbed 2 deprecated mbedBug

Dependencies:   mbed

Revision:
5:4136e9141bde
Parent:
2:aa9a1377aa0d
Child:
6:02df5c1108f1
--- a/MorseCode.cpp	Wed Apr 08 11:28:24 2020 +0000
+++ b/MorseCode.cpp	Wed Apr 08 12:36:17 2020 +0000
@@ -6,10 +6,10 @@
 reserved (R). This Source Code Form is subject to the terms of the Mozilla 
 Public License, v. 2.0. If a copy of the MPL was not distributed with this file,
 You can obtain one at <https://mozilla.org/MPL/2.0/>. */
-#include "morse_code.h"
+#include "MorseCode.h"
 namespace mbedBug {
-const char* MorseCode (char code) {
-    Space = " "; //<
+const char* MorseCode (char Code) {
+    static const char* Space = " "; //<
 
     static const char* Cypher[] = {
         ".-.-.",        //< ASCII: NUL, Morse code: End of message.