lib: relocate irq helper function to RAM

...instead of executing it from flash
This commit is contained in:
Steve Markgraf 2025-03-20 21:34:34 +01:00
parent 94096b7489
commit 5f00c86805

View file

@ -157,7 +157,7 @@ void init_info_packet(void)
info_len = len; info_len = len;
} }
void hsdaoh_update_head(int stream_id, int head) void __scratch_y("") hsdaoh_update_head(int stream_id, int head)
{ {
if (streams[stream_id].tail == head) if (streams[stream_id].tail == head)
streams[stream_id].overflow = true; streams[stream_id].overflow = true;