Change in osmo-ccid-firmware[master]: add debug welcome message output

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Kévin Redon gerrit-no-reply at lists.osmocom.org
Thu Feb 7 16:08:23 UTC 2019


Kévin Redon has submitted this change and it was merged. ( https://gerrit.osmocom.org/12812 )

Change subject: add debug welcome message output
......................................................................

add debug welcome message output

Change-Id: I8dde644caa56152b17da674e187006726991ff9c
---
M sysmoOCTSIM/main.c
1 file changed, 2 insertions(+), 0 deletions(-)

Approvals:
  Jenkins Builder: Verified
  Harald Welte: Looks good to me, approved



diff --git a/sysmoOCTSIM/main.c b/sysmoOCTSIM/main.c
index f2584d2..d74153d 100644
--- a/sysmoOCTSIM/main.c
+++ b/sysmoOCTSIM/main.c
@@ -44,6 +44,8 @@
 
 	usb_start();
 
+	const char* welcome = "\r\n\r\nsysmocom sysmoOCTSIM\r\n";
+	while (io_write(&UART_debug.io, (const uint8_t*)welcome, strlen(welcome)) != strlen(welcome)); // print welcome message
 	while (true) { // main loop
 		if (data_arrived) { // input on UART debug
 			data_arrived = false; // clear flag

-- 
To view, visit https://gerrit.osmocom.org/12812
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ccid-firmware
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I8dde644caa56152b17da674e187006726991ff9c
Gerrit-Change-Number: 12812
Gerrit-PatchSet: 2
Gerrit-Owner: Kévin Redon <kredon at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: Kévin Redon <kredon at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190207/3036b3c2/attachment.htm>


More information about the gerrit-log mailing list