From a7c8939737e669a48fd2c8ba2b1db6d945d22932 Mon Sep 17 00:00:00 2001 From: Daniel Thompson Date: Sun, 5 Sep 2021 20:57:24 +0100 Subject: [PATCH] docs appguide: Update the section on updating main.py Signed-off-by: Daniel Thompson --- docs/appguide.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/appguide.rst b/docs/appguide.rst index 9f3cc01..e4574a8 100644 --- a/docs/appguide.rst +++ b/docs/appguide.rst @@ -295,7 +295,7 @@ launcher and it does not start automatically. To remove the application simply reboot the watch by pressing and holding the physical button until the watch enters OTA mode (this takes around five seconds). Once the watch is in OTA mode then -press the phyiscal button again to return to normal mode with the +press the physical button again to return to normal mode with the application cleared out. .. _Uploading in source code form: @@ -329,8 +329,8 @@ and copies it to the external FLASH. After this point ``main.py`` is user modifiable and can be used to tweak the configuration of the watch before it starts running. -Edit ``wasp/main.py`` to add the following two lines between ``import wasp`` -and the ``wasp.system.run()``: +Edit ``wasp/main.py`` to add the following two lines and the end of the file +(after the ``wasp.system.schedule()``: .. code-block:: python