Skip to content

Commit

Permalink
Merge pull request #1 from GeorgeIoak/ESP32_Update
Browse files Browse the repository at this point in the history
Update platform.h
  • Loading branch information
GeorgeIoak authored Apr 8, 2023
2 parents a1a9325 + 339c1ea commit 3ab7289
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platform.h
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ constexpr uint8_t VALUE_IPL { (microsecondsToClockCycles(1) > 120) ? 26 : 22 };
#define DIRECT_MODE_OUTPUT(base, pin) pinMode(pin,OUTPUT)
#define DELAY_MICROSECONDS(us) delayMicroseconds(us)
using io_reg_t = uint32_t; // define special data type for register-access
constexpr uint8_t VALUE_IPL { 39 }; // instructions per loop, for 40 and 80 MHz (see esp8266 difference)
constexpr uint8_t VALUE_IPL { 51 }; // instructions per loop, for 40 and 80 MHz (see esp8266 difference), was 39

#elif defined(ARDUINO_ARCH_SAMD) /* arduino family samd */
// arduino-zero is defined(__SAMD21G18A__)
Expand Down

0 comments on commit 3ab7289

Please sign in to comment.