MCPcopy Create free account
hub / github.com/Duet3D/RepRapFirmware / EnablePanelDuePort

Method EnablePanelDuePort

src/Platform/Platform.cpp:2895–2901  ·  view source on GitHub ↗

Enable the PanelDue port so that the ATE can test the board

Source from the content-addressed store, hash-verified

2893
2894// Enable the PanelDue port so that the ATE can test the board
2895void Platform::EnablePanelDuePort() noexcept
2896{
2897 auxDevices[0].SetBaudRate(57600);
2898 auxDevices[0].SetMode(AuxMode::panelDue);
2899 commsParams[1] = 1;
2900 reprap.GetGCodes().GetSerialGCodeBuffer(1)->Enable(1);
2901}
2902
2903#endif
2904

Callers 1

InitMethod · 0.80

Calls 3

SetBaudRateMethod · 0.45
SetModeMethod · 0.45
EnableMethod · 0.45

Tested by

no test coverage detected