diff --git a/wpiutil/src/main/native/cpp/timestamp.cpp b/wpiutil/src/main/native/cpp/timestamp.cpp index dd76fb9c05f..cc7e2e0f47a 100644 --- a/wpiutil/src/main/native/cpp/timestamp.cpp +++ b/wpiutil/src/main/native/cpp/timestamp.cpp @@ -273,10 +273,15 @@ uint64_t wpi::Now() { if (nowUseDefaultOnFailure.test()) { return timestamp() - offset_val; } else { - fmt::print( - stderr, - "FPGA not yet configured in wpi::Now(). Time will not be correct.\n"); - std::fflush(stderr); + static uint64_t last = 0; + uint64_t cur = timestamp(); + if ((cur - last) > 100000) { + last = cur; + fmt::print(stderr, + "FPGA not yet configured in wpi::Now(). Time will not be " + "correct.\n"); + std::fflush(stderr); + } return 1; } }