|
|
@ -8,8 +8,9 @@ from pprint import pprint |
|
|
|
|
|
|
|
Import("env") |
|
|
|
|
|
|
|
rxBuf = env["MARLIN_FEATURES"]["RX_BUFFER_SIZE"] if "RX_BUFFER_SIZE" in env["MARLIN_FEATURES"] else "0" |
|
|
|
txBuf = env["MARLIN_FEATURES"]["TX_BUFFER_SIZE"] if "TX_BUFFER_SIZE" in env["MARLIN_FEATURES"] else "0" |
|
|
|
mf = env["MARLIN_FEATURES"] |
|
|
|
rxBuf = mf["RX_BUFFER_SIZE"] if "RX_BUFFER_SIZE" in mf else "0" |
|
|
|
txBuf = mf["TX_BUFFER_SIZE"] if "TX_BUFFER_SIZE" in mf else "0" |
|
|
|
|
|
|
|
serialBuf = str(max(int(rxBuf), int(txBuf), 350)) |
|
|
|
|
|
|
|