mirror of
https://git.mirrors.martin98.com/https://github.com/luc-github/ESP3D.git
synced 2025-08-12 10:08:59 +08:00
Fix typos thanks @patrickelectric
This commit is contained in:
parent
3ee67c022b
commit
f5051e3335
@ -22,7 +22,7 @@ Arduino ide 1.6.9 with git from ESP8266 : [
|
* to all contributors (treepleks, j0hnlittle, openhardwarecoza, TRoager, all feedbacks owners and donations)
|
||||||
|
|
||||||
Every support is welcome: [<img src="https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG_global.gif" border="0" alt="PayPal – The safer, easier way to pay online.">](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=Y8FFE7NA4LJWQ)
|
Every support is welcome: [<img src="https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG_global.gif" border="0" alt="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.
|
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.
|
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:
|
##Direct commands:
|
||||||
```
|
```
|
||||||
@ -241,7 +241,7 @@ For RADDS Board:
|
|||||||
<img src=https://raw.githubusercontent.com/luc-github/ESP3D/master/images/RADDS/RADDS.png><br>
|
<img src=https://raw.githubusercontent.com/luc-github/ESP3D/master/images/RADDS/RADDS.png><br>
|
||||||
|
|
||||||
##Contribution/customization
|
##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
|
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/)
|
To style the code before pushing PR please use [astyle --style=otbs *.h *.cpp *.ino](http://astyle.sourceforge.net/)
|
||||||
|
@ -33,7 +33,7 @@ protected:
|
|||||||
ListNode<T> *lastNodeGot;
|
ListNode<T> *lastNodeGot;
|
||||||
int lastIndexGot;
|
int lastIndexGot;
|
||||||
// isCached should be set to FALSE
|
// isCached should be set to FALSE
|
||||||
// everytime the list suffer changes
|
// every time the list suffer changes
|
||||||
bool isCached;
|
bool isCached;
|
||||||
|
|
||||||
ListNode<T>* getNode(int index);
|
ListNode<T>* getNode(int index);
|
||||||
@ -124,7 +124,7 @@ LinkedList<T>::~LinkedList()
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Actualy "logic" coding
|
Actually "logic" coding
|
||||||
*/
|
*/
|
||||||
|
|
||||||
template<typename T>
|
template<typename T>
|
||||||
@ -135,7 +135,7 @@ ListNode<T>* LinkedList<T>::getNode(int index)
|
|||||||
ListNode<T>* current = root;
|
ListNode<T>* current = root;
|
||||||
|
|
||||||
// Check if the node trying to get is
|
// Check if the node trying to get is
|
||||||
// immediatly AFTER the previous got one
|
// immediately AFTER the previous got one
|
||||||
if(isCached && lastIndexGot <= index) {
|
if(isCached && lastIndexGot <= index) {
|
||||||
_pos = lastIndexGot;
|
_pos = lastIndexGot;
|
||||||
current = lastNodeGot;
|
current = lastNodeGot;
|
||||||
|
@ -2350,7 +2350,7 @@ void SPIFFSFileupload()
|
|||||||
//Upload write
|
//Upload write
|
||||||
//**************
|
//**************
|
||||||
} else if(upload.status == UPLOAD_FILE_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) {
|
if(web_interface->fsUploadFile && web_interface->_upload_status == UPLOAD_STATUS_ONGOING) {
|
||||||
//no error so write post date
|
//no error so write post date
|
||||||
web_interface->fsUploadFile.write(upload.buf, upload.currentSize);
|
web_interface->fsUploadFile.write(upload.buf, upload.currentSize);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user