1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-12 01:53:07 +03:00

Merge pull request #729 from Links2004/esp8266

fix mac 599 for ESP8266HTTPUpdate
This commit is contained in:
Ivan Grokhotkov
2015-08-31 09:38:28 +03:00
10 changed files with 44 additions and 4 deletions

View File

@ -1,6 +1,8 @@
#include "Updater.h"
#include "Arduino.h"
#include "eboot_command.h"
#include "interrupts.h"
//#define DEBUG_UPDATER Serial
extern "C" {

View File

@ -11,6 +11,8 @@
#define UPDATE_ERROR_SIZE 4
#define UPDATE_ERROR_STREAM 5
//#define DEBUG_UPDATER Serial1
class UpdaterClass {
public:
UpdaterClass();

View File

@ -2,8 +2,11 @@
#define ARD_DEBUG_H
#include <stddef.h>
// #define DEBUGV(...) ets_printf(__VA_ARGS__)
//#define DEBUGV(...) ets_printf(__VA_ARGS__)
#ifndef DEBUGV
#define DEBUGV(...)
#endif
#ifdef __cplusplus
void hexdump(uint8_t *mem, uint32_t len, uint8_t cols = 16);