Revert buffer size change
This commit is contained in:
parent
df277c6556
commit
1df723a4a0
|
@ -192,7 +192,7 @@ void setup() {
|
||||||
|
|
||||||
pico_get_unique_board_id_string(spi_serial_number, 17);
|
pico_get_unique_board_id_string(spi_serial_number, 17);
|
||||||
descriptor_strings[2] = spi_serial_number;
|
descriptor_strings[2] = spi_serial_number;
|
||||||
userbuf = malloc(2 * ad_conf.ep1.core.wMaxPacketSize);
|
userbuf = malloc(sizeof(uint8_t) * RINGBUF_LEN_IN_BYTES);
|
||||||
|
|
||||||
// Configure DAC PWM
|
// Configure DAC PWM
|
||||||
gpio_set_function(PCM3060_SCKI2_PIN, GPIO_FUNC_PWM);
|
gpio_set_function(PCM3060_SCKI2_PIN, GPIO_FUNC_PWM);
|
||||||
|
|
Loading…
Reference in New Issue