1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-27 21:16:50 +03:00

revert some space auto formatting

This commit is contained in:
Markus Sattler 2015-08-29 13:56:03 +02:00
parent 79bec479b5
commit a3bc0e924b
2 changed files with 23 additions and 23 deletions

View File

@ -126,13 +126,13 @@ bool UpdaterClass::_writeBuffer(){
_error = UPDATE_ERROR_WRITE; _error = UPDATE_ERROR_WRITE;
_currentAddress = (_startAddress + _size); _currentAddress = (_startAddress + _size);
#ifdef DEBUG_UPDATER #ifdef DEBUG_UPDATER
printError(DEBUG_UPDATER); printError(DEBUG_UPDATER);
#endif #endif
return false; return false;
} }
_currentAddress += _bufferLen; _currentAddress += _bufferLen;
_bufferLen = 0; _bufferLen = 0;
return true; return true;
} }
size_t UpdaterClass::write(uint8_t *data, size_t len) { size_t UpdaterClass::write(uint8_t *data, size_t len) {

View File

@ -11,7 +11,7 @@
#define UPDATE_ERROR_SIZE 4 #define UPDATE_ERROR_SIZE 4
#define UPDATE_ERROR_STREAM 5 #define UPDATE_ERROR_STREAM 5
#define DEBUG_UPDATER Serial1 //#define DEBUG_UPDATER Serial1
class UpdaterClass { class UpdaterClass {
public: public: