Skip to content

Commit 909e84e

Browse files
committed
fixing octoprint connection issues
1 parent c1fd548 commit 909e84e

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

Marlin/Configuration.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,8 @@
128128
*
129129
* :[2400, 9600, 19200, 38400, 57600, 115200, 250000, 500000, 1000000]
130130
*/
131-
#define BAUDRATE 250000
131+
// @fixing octoprint connection issues - I guess RPi may have issues with higher baud rates.
132+
#define BAUDRATE 115200
132133

133134
// Enable the Bluetooth serial interface on AT90USB devices
134135
//#define BLUETOOTH

Marlin/Configuration_adv.h

+4-2
Original file line numberDiff line numberDiff line change
@@ -1544,13 +1544,15 @@
15441544
// For debug-echo: 128 bytes for the optimal speed.
15451545
// Other output doesn't need to be that speedy.
15461546
// :[0, 2, 4, 8, 16, 32, 64, 128, 256]
1547-
#define TX_BUFFER_SIZE 0
1547+
// @fixing octoprint connection issues - probably overkill
1548+
#define TX_BUFFER_SIZE 32
15481549

15491550
// Host Receive Buffer Size
15501551
// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough.
15511552
// To use flow control, set this buffer size to at least 1024 bytes.
15521553
// :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]
1553-
//#define RX_BUFFER_SIZE 1024
1554+
// @fixing octoprint connection issues - probably overkill
1555+
#define RX_BUFFER_SIZE 1024
15541556

15551557
#if RX_BUFFER_SIZE >= 1024
15561558
// Enable to have the controller send XON/XOFF control characters to

0 commit comments

Comments
 (0)