From f5051e3335e53ee3fbdb87d721936c0dfd1a0d53 Mon Sep 17 00:00:00 2001 From: luc lebosse Date: Sun, 9 Oct 2016 10:48:15 +0200 Subject: [PATCH] Fix typos thanks @patrickelectric --- README.md | 6 +++--- esp3d/LinkedList.h | 6 +++--- esp3d/webinterface.cpp | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index c4f079b2..b28cb0fd 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ Arduino ide 1.6.9 with git from ESP8266 : [![Build Status](https://travis-ci.org :+1:Thanks * to @disneysw for bringing this module idea -* to @lkarlslund for suggestion about independant reset using GPIO2 +* to @lkarlslund for suggestion about independent reset using GPIO2 * to all contributors (treepleks, j0hnlittle, openhardwarecoza, TRoager, all feedbacks owners and donations) Every support is welcome: [PayPal – The safer, easier way to pay online.](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=Y8FFE7NA4LJWQ) @@ -98,7 +98,7 @@ Any files on SPIFFS can be called on web interface without having the path hard So UI is kind of separated from FW which allow easier modifications. For this a light file manager is available in extra settings page, it allows to upload/download/delete files. Because SPIFFS is flat filesystem, no directory management is necessary, so it is very simple. -Additionally 404.tpl (the page not found) and restart.tpl(restart page when applying changes) are not mandatory, a fail safe version is embeded if they are not present. +Additionally 404.tpl (the page not found) and restart.tpl(restart page when applying changes) are not mandatory, a fail safe version is embedded if they are not present. ##Direct commands: ``` @@ -241,7 +241,7 @@ For RADDS Board:
##Contribution/customization -To modifying and Testing tpl files a local tool has been created by [j0hnlittle](https://github.com/j0hnlittle) to avoid to upload everytime your tpl files just to see the results of your modifications. It is a python script (2.7+) located in tools directory, launch it: python server.py, then open browser: http://localhost:8080 +To modifying and Testing tpl files a local tool has been created by [j0hnlittle](https://github.com/j0hnlittle) to avoid to upload every time your tpl files just to see the results of your modifications. It is a python script (2.7+) located in tools directory, launch it: python server.py, then open browser: http://localhost:8080 It will display the web ui and allow some navigation To style the code before pushing PR please use [astyle --style=otbs *.h *.cpp *.ino](http://astyle.sourceforge.net/) diff --git a/esp3d/LinkedList.h b/esp3d/LinkedList.h index d90336f9..85b2b097 100644 --- a/esp3d/LinkedList.h +++ b/esp3d/LinkedList.h @@ -33,7 +33,7 @@ protected: ListNode *lastNodeGot; int lastIndexGot; // isCached should be set to FALSE - // everytime the list suffer changes + // every time the list suffer changes bool isCached; ListNode* getNode(int index); @@ -124,7 +124,7 @@ LinkedList::~LinkedList() } /* - Actualy "logic" coding + Actually "logic" coding */ template @@ -135,7 +135,7 @@ ListNode* LinkedList::getNode(int index) ListNode* current = root; // Check if the node trying to get is - // immediatly AFTER the previous got one + // immediately AFTER the previous got one if(isCached && lastIndexGot <= index) { _pos = lastIndexGot; current = lastNodeGot; diff --git a/esp3d/webinterface.cpp b/esp3d/webinterface.cpp index 72a85e68..20ad5546 100644 --- a/esp3d/webinterface.cpp +++ b/esp3d/webinterface.cpp @@ -2350,7 +2350,7 @@ void SPIFFSFileupload() //Upload write //************** } else if(upload.status == UPLOAD_FILE_WRITE) { - //check if file is availble and no error + //check if file is available and no error if(web_interface->fsUploadFile && web_interface->_upload_status == UPLOAD_STATUS_ONGOING) { //no error so write post date web_interface->fsUploadFile.write(upload.buf, upload.currentSize);