changeset 330:30cbf540e045

frbl/reconst/serial.c: 0x126 static function reconstructed
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 07 Mar 2020 00:54:28 +0000
parents 63d3afd14523
children 8fb86f7b4395
files frbl/reconst/serial.c
diffstat 1 files changed, 19 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/frbl/reconst/serial.c	Fri Mar 06 07:42:09 2020 +0000
+++ b/frbl/reconst/serial.c	Sat Mar 07 00:54:28 2020 +0000
@@ -88,3 +88,22 @@
 	}
 	return retval;
 }
+
+static SYS_UWORD32
+static_func_0x126(SYS_UWORD8 arg1, SYS_UWORD32 *arg2)
+{
+	SYS_UWORD32 retval = 1;
+
+	if (arg1 == S0_expect[bss_8]) {
+		bss_8++;
+		if (bss_8 == 7) {
+			bss_0xc = 1;
+			bss_4 = 1;
+		}
+	} else {
+		*arg2 = 1;
+		bss_0xc = 1;
+		retval = 0;
+	}
+	return retval;
+}