Skip to content

Commit 2f0833c

Browse files
FozzTexxtschak909
authored andcommitted
Remove unused track buffer allocation.
1 parent 3345bb6 commit 2f0833c

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lib/bus/iwm/iwm_ll.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1101,10 +1101,6 @@ void IRAM_ATTR encode_rmt_bitstream(const void* src, rmt_item32_t* dest, size_t
11011101
void iwm_diskii_ll::setup_rmt()
11021102
{
11031103
// SPI continuous
1104-
#if 0
1105-
d2w_buflen = cspi_alloc_continuous(IWM_NUMBYTES_FOR_BITS(TRACK_LEN * 8, d2w_buffer),
1106-
D2W_CHUNK_SIZE, &d2w_buffer, &d2w_desc);
1107-
#endif
11081104
iwm_write_queue = xQueueCreate(10, sizeof(iwm_write_data));
11091105

11101106
track_buffer = (uint8_t *)heap_caps_malloc(TRACK_LEN, MALLOC_CAP_INTERNAL | MALLOC_CAP_8BIT);

0 commit comments

Comments
 (0)