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:
@ -1,6 +1,8 @@
|
||||
#include "Updater.h"
|
||||
#include "Arduino.h"
|
||||
#include "eboot_command.h"
|
||||
#include "interrupts.h"
|
||||
|
||||
//#define DEBUG_UPDATER Serial
|
||||
|
||||
extern "C" {
|
||||
|
@ -11,6 +11,8 @@
|
||||
#define UPDATE_ERROR_SIZE 4
|
||||
#define UPDATE_ERROR_STREAM 5
|
||||
|
||||
//#define DEBUG_UPDATER Serial1
|
||||
|
||||
class UpdaterClass {
|
||||
public:
|
||||
UpdaterClass();
|
||||
|
@ -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);
|
||||
|
Reference in New Issue
Block a user