Skip to content

Commit

Permalink
Include pico.h for "fast code"
Browse files Browse the repository at this point in the history
pico/platform.h is not allowed now
  • Loading branch information
Daft-Freak committed Aug 10, 2024
1 parent b5ad4cf commit efef9de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 32blit/engine/fast_code.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#define blit_fast_code(fn) __attribute__((section(".itcm." #fn))) fn
#define blit_no_inline_fast_code(fn) __attribute__((noinline)) blit_fast_code(fn)
#elif defined(PICO_BUILD)
#include <pico/platform.h>
#include <pico.h>

#define blit_fast_code(fn) __not_in_flash_func(fn)
#define blit_no_inline_fast_code(fn) __no_inline_not_in_flash_func(fn)
Expand Down

0 comments on commit efef9de

Please sign in to comment.