From b0c4ade926dfde0fc985ca6560fed9ff76d8c9fc Mon Sep 17 00:00:00 2001 From: stephanie-eng Date: Mon, 18 Oct 2021 00:35:47 -0400 Subject: [PATCH 1/2] Fixed Apps tutorial to compile properly Changed case in minimal example to properly reference Pinetime namespace --- doc/code/Apps.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/code/Apps.md b/doc/code/Apps.md index b3bab042..355b44b7 100644 --- a/doc/code/Apps.md +++ b/doc/code/Apps.md @@ -51,7 +51,7 @@ MyApp.h: #include "displayapp/screens/Screen.h" #include -namespace PineTime { +namespace Pinetime { namespace Applications { namespace Screens { class MyApp : public Screen { From 02d52d94d524d421043ff3b46dcc753051c7b5f7 Mon Sep 17 00:00:00 2001 From: Stephanie Date: Mon, 18 Oct 2021 12:18:35 -0400 Subject: [PATCH 2/2] Added missing semicolon --- doc/code/Apps.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/code/Apps.md b/doc/code/Apps.md index 355b44b7..7c2d7a05 100644 --- a/doc/code/Apps.md +++ b/doc/code/Apps.md @@ -58,7 +58,7 @@ namespace Pinetime { public: MyApp(DisplayApp* app); ~MyApp() override; - } + }; } } }