Skip to content

Commit

Permalink
#7309: Add missing constexpr for tiled i2s
Browse files Browse the repository at this point in the history
  • Loading branch information
bbradelTT committed Jun 12, 2024
1 parent 5699d9d commit 514d68c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ void kernel_main() {
uint32_t barrier_count = 0;
uint32_t curr_tile_id = start_id;
uint32_t l1_write_addr = get_write_ptr(cb_id_in0);
if (reserving_kernel) {
if constexpr (reserving_kernel) {
cb_reserve_back(cb_id_in0, all_block_num_tiles);
cb_reserve_back(cb_id_sync, 1);
cb_push_back(cb_id_sync, 1);
Expand Down

0 comments on commit 514d68c

Please sign in to comment.