mirror of
https://github.com/taigrr/arduinolibs
synced 2025-01-18 04:33:12 -08:00
Make the Crypto examples work for ESP8266
This commit is contained in:
@@ -34,7 +34,11 @@ AVR platforms with 32K or less of flash memory.
|
||||
#include <RNG.h>
|
||||
#include <RNG.h>
|
||||
#include <string.h>
|
||||
#if defined(ESP8266)
|
||||
#include <pgmspace.h>
|
||||
#else
|
||||
#include <avr/pgmspace.h>
|
||||
#endif
|
||||
|
||||
void printNumber(const char *name, const uint8_t *x, size_t len)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user