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/.
laforge gerrit-no-reply at lists.osmocom.orglaforge has submitted this change. ( https://gerrit.osmocom.org/c/simtrace2/+/16803 ) Change subject: firmware: apps/cardem/main.c: Synchronize with apps/trace/main.c ...................................................................... firmware: apps/cardem/main.c: Synchronize with apps/trace/main.c In the end we want to share most of this, irrespective of the "APP". Let's avoid unnecessary differences. Change-Id: Icf063d4ca79edf66ffbe8e87a915deb77dec478a --- M firmware/apps/cardem/main.c 1 file changed, 4 insertions(+), 3 deletions(-) Approvals: Jenkins Builder: Verified laforge: Looks good to me, approved diff --git a/firmware/apps/cardem/main.c b/firmware/apps/cardem/main.c index f6a5ab5..3476af2 100644 --- a/firmware/apps/cardem/main.c +++ b/firmware/apps/cardem/main.c @@ -39,7 +39,7 @@ void (*exit) (void); /* main loop content for given configuration */ void (*run) (void); - /* Interrupt handler for USART1 */ + /* Interrupt handler for USART0 */ void (*usart0_irq) (void); /* Interrupt handler for USART1 */ void (*usart1_irq) (void); @@ -53,6 +53,8 @@ .init = Sniffer_init, .exit = Sniffer_exit, .run = Sniffer_run, + .usart0_irq = Sniffer_usart0_irq, + .usart1_irq = Sniffer_usart1_irq, }, #endif #ifdef HAVE_CCID @@ -174,8 +176,7 @@ } TRACE_INFO("calling configure of all configurations...\n\r"); - for (i = 1; i < sizeof(config_func_ptrs) / sizeof(config_func_ptrs[0]); - ++i) { + for (i = 1; i < ARRAY_SIZE(config_func_ptrs); i++) { if (config_func_ptrs[i].configure) config_func_ptrs[i].configure(); } -- To view, visit https://gerrit.osmocom.org/c/simtrace2/+/16803 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: simtrace2 Gerrit-Branch: master Gerrit-Change-Id: Icf063d4ca79edf66ffbe8e87a915deb77dec478a Gerrit-Change-Number: 16803 Gerrit-PatchSet: 1 Gerrit-Owner: laforge <laforge at osmocom.org> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge <laforge at osmocom.org> Gerrit-MessageType: merged -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200112/222df2fa/attachment.htm>