From 42c215ef70bc75a9247b727f5aa5811490c5fa55 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Wed, 19 Jul 2023 23:24:43 +0200 Subject: [PATCH] some additional notes --- src/fsfw/util/SeqCountProvider.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/fsfw/util/SeqCountProvider.h b/src/fsfw/util/SeqCountProvider.h index f5c3a5ca..fe16431f 100644 --- a/src/fsfw/util/SeqCountProvider.h +++ b/src/fsfw/util/SeqCountProvider.h @@ -13,6 +13,7 @@ class SeqCountProvider : public ProvidesSeqCountIF { public: [[nodiscard]] unsigned int bitWidth() const override { return sizeof(T) * 8; } uint64_t get() override { return counter; } + // I'm also abusing the primitive C variable overflow wrap around here. void increment() override { counter++; } private: