Skip to content

Commit

Permalink
Warnings about setting buffer sizes after begin(). #88
Browse files Browse the repository at this point in the history
  • Loading branch information
SmittyHalibut committed Dec 31, 2024
1 parent 4cb3b9c commit 05e411b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,9 @@ void processTxAudio(uint8_t tempBuffer[], int bytesRead);

void setup() {
// Communication with Android via USB cable
Serial.begin(230400);
Serial.setRxBufferSize(USB_BUFFER_SIZE);
Serial.setTxBufferSize(USB_BUFFER_SIZE);
Serial.begin(230400);

// Configure watch dog timer (WDT), which will reset the system if it gets stuck somehow.
esp_task_wdt_init(10, true); // Reboot if locked up for a bit
Expand Down
2 changes: 1 addition & 1 deletion microcontroller-src/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ src_dir = kv4p_ht_esp32_wroom_32
platform = espressif32
board = esp32dev
framework = arduino
monitor_speed = 921600
monitor_speed = 230400
build_flags =
-DARDUINO_RUNNING_CORE=1
-DARDUINO_EVENT_RUNNING_CORE=0
Expand Down

0 comments on commit 05e411b

Please sign in to comment.