Skip to content

Commit

Permalink
feat: support Arduino framework v3.1.0 (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris685 authored Jan 9, 2023
1 parent a0a1634 commit a2a1ff5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,7 @@ board_build.f_flash = 80000000L
board_build.ldscript = eagle.flash.4m3m.ld
upload_speed = 115200
test_filter = embedded
; this should be replaced with the correct platform version once espressif8266 has caught up.
platform_packages =
framework-arduinoespressif8266 @ https://github.com/esp8266/Arduino.git
toolchain-xtensa@~2.100300.210717
2 changes: 1 addition & 1 deletion src/Task.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class Task : public AbstractTask {
}

void yield() override {
cont_yield(&context);
cont_suspend(&context);
}

private:
Expand Down

0 comments on commit a2a1ff5

Please sign in to comment.