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 Apr 10, 2024
1 parent 7c9878c commit bbe8235
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ void kernel_main() {

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 bbe8235

Please sign in to comment.