Skip to content

Commit 07a583a

Browse files
authored
Merge pull request #15 from bcmi-labs/13-add-fake-baudrate-in-monitorbegin
mod: monitor.begin has baud param that can be passed on to the bridge
2 parents 9226bd1 + 6642d98 commit 07a583a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/monitor.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
This Source Code Form is subject to the terms of the Mozilla Public
77
License, v. 2.0. If a copy of the MPL was not distributed with this
88
file, You can obtain one at http://mozilla.org/MPL/2.0/.
9-
9+
1010
*/
1111

1212
#pragma once
@@ -37,7 +37,7 @@ class BridgeMonitor: public Stream {
3737

3838
using Print::write;
3939

40-
bool begin() {
40+
bool begin(unsigned long _legacy_baud=0, uint16_t _legacy_config=0) {
4141
k_mutex_init(&monitor_mutex);
4242

4343
bool bridge_started = (*bridge);

0 commit comments

Comments
 (0)