Attention is currently required from: tnt.
laforge has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-e1-hardware/+/30061 )
Change subject: icE1usb fw/gpsdo: Only force HOLD_OVER when no PPS if not DISABLED
......................................................................
Patch Set 1: Code-Review+2
--
To view, visit https://gerrit.osmocom.org/c/osmo-e1-hardware/+/30061
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-e1-hardware
Gerrit-Branch: master
Gerrit-Change-Id: I6e2b6cf5c7c0c9deaf429be000770316ec88b9d4
Gerrit-Change-Number: 30061
Gerrit-PatchSet: 1
Gerrit-Owner: tnt <tnt(a)246tNt.com>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Attention: tnt <tnt(a)246tNt.com>
Gerrit-Comment-Date: Wed, 09 Nov 2022 15:45:01 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
tnt has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-e1-hardware/+/30061 )
Change subject: icE1usb fw/gpsdo: Only force HOLD_OVER when no PPS if not DISABLED
......................................................................
icE1usb fw/gpsdo: Only force HOLD_OVER when no PPS if not DISABLED
Bug introduced in da395cc9224f57300d8b05b8369f08d202f5c184
but since we never had anyway to use manual mode before,
didn't get noticed ...
Signed-off-by: Sylvain Munaut <tnt(a)246tNt.com>
Change-Id: I6e2b6cf5c7c0c9deaf429be000770316ec88b9d4
---
M firmware/ice40-riscv/icE1usb/gpsdo.c
1 file changed, 2 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-e1-hardware refs/changes/61/30061/1
diff --git a/firmware/ice40-riscv/icE1usb/gpsdo.c b/firmware/ice40-riscv/icE1usb/gpsdo.c
index 2481c2e..bb3801e 100644
--- a/firmware/ice40-riscv/icE1usb/gpsdo.c
+++ b/firmware/ice40-riscv/icE1usb/gpsdo.c
@@ -278,7 +278,8 @@
bool valid;
/* If more than 3 sec elapsed since last PPS, go to hold-over */
- if (time_elapsed(g_gpsdo.meas.tick_prev, 3 * SYS_CLK_FREQ)) {
+ if ((g_gpsdo.state != STATE_DISABLED) &&
+ time_elapsed(g_gpsdo.meas.tick_prev, 3 * SYS_CLK_FREQ)) {
g_gpsdo.state = STATE_HOLD_OVER;
g_gpsdo.meas.invalid = 0;
g_gpsdo.meas.skip = 0;
--
To view, visit https://gerrit.osmocom.org/c/osmo-e1-hardware/+/30061
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-e1-hardware
Gerrit-Branch: master
Gerrit-Change-Id: I6e2b6cf5c7c0c9deaf429be000770316ec88b9d4
Gerrit-Change-Number: 30061
Gerrit-PatchSet: 1
Gerrit-Owner: tnt <tnt(a)246tNt.com>
Gerrit-MessageType: newchange
fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmocom-bb/+/30060 )
Change subject: trxcon: configure.ac: call LT_INIT after setting CFLAGS
......................................................................
trxcon: configure.ac: call LT_INIT after setting CFLAGS
If $CFLAGS is empty prior to calling the LT_INIT, this macro will
set $CFLAGS to "-g -O2". We don't want implicit flags out of
nowhere, so let's simply move the invocation of LT_INIT down below.
Change-Id: I8d8eb1e3428ffcb84ddd53230fada39328337d15
Related: OS#5749
---
M src/host/trxcon/configure.ac
1 file changed, 3 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/60/30060/1
diff --git a/src/host/trxcon/configure.ac b/src/host/trxcon/configure.ac
index 554caab..6508689 100644
--- a/src/host/trxcon/configure.ac
+++ b/src/host/trxcon/configure.ac
@@ -1,7 +1,6 @@
dnl Process this file with autoconf to produce a configure script
AC_INIT([trxcon], [0.0.0])
AM_INIT_AUTOMAKE
-LT_INIT
CFLAGS="$CFLAGS -std=gnu11"
@@ -21,6 +20,9 @@
dnl checks for header files
AC_HEADER_STDC
+dnl init libtool
+LT_INIT
+
AC_ARG_ENABLE(sanitize,
[AS_HELP_STRING(
[--enable-sanitize],
--
To view, visit https://gerrit.osmocom.org/c/osmocom-bb/+/30060
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-Change-Id: I8d8eb1e3428ffcb84ddd53230fada39328337d15
Gerrit-Change-Number: 30060
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-MessageType: newchange