Skip to content

Commit a10b9f8

Browse files
committed
Remove TODO and FIXME for confirmed values
1 parent 278d04c commit a10b9f8

File tree

11 files changed

+0
-15
lines changed

11 files changed

+0
-15
lines changed

Sts1CobcSw/Bootloader/Main.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ using sts1cobcsw::ErrorCode;
1717

1818
namespace
1919
{
20-
// FIXME: const value correct?
2120
constexpr int nResetsSinceRfLimit = 50;
2221

2322

Sts1CobcSw/Edu/Edu.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,6 @@ constexpr auto cepData = 0x8b_b; //! Data packet format is used (not a command
6161
constexpr auto sendTimeout = 1500 * ms;
6262
constexpr auto receiveTimeout = 1500 * ms;
6363

64-
// FIXME: How many nacks are ok
65-
// TODO: Choose proper values
6664
// Max. number of send retries after receiving NACK
6765
constexpr auto maxNNackRetries = 4;
6866
// Max. number of data packets for a single command

Sts1CobcSw/FileSystem/LfsFlash.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ auto Lock(lfs_config const * config) -> int;
3939
auto Unlock(lfs_config const * config) -> int;
4040

4141

42-
// TODO: Test with real HW
43-
// FIXME: Already tested with real HW?
4442
// max. 3.5 ms acc. W25Q01JV datasheet
4543
constexpr auto pageProgramTimeout = 5 * ms;
4644
// max. 400 ms acc. W25Q01JV datasheet (lfs_config.block_size = flash::sectorSize)

Sts1CobcSw/Firmware/EduListenerThread.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ namespace
2727
{
2828
constexpr auto stackSize = 5000U;
2929
constexpr auto eduIsAliveCheckInterval = 1 * s;
30-
// FIXME: const value correct?
3130

3231

3332
auto SuspendUntilEduIsAliveAndHasUpdate() -> void;

Sts1CobcSw/Firmware/EduPowerManagementThread.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212
namespace sts1cobcsw
1313
{
14-
// FIXME: const value correct?
1514
inline constexpr auto eduPowerManagementThreadStartDelay = 15 * s;
1615

1716

Sts1CobcSw/Firmware/EduProgramQueueThread.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ namespace
3636
constexpr auto stackSize = 1500U;
3737
// This thread must start before the EDU power management thread to ensure the correct start time
3838
// is published
39-
// FIXME: const value correct?
4039
constexpr auto eduProgramQueueThreadStartDelay = eduPowerManagementThreadStartDelay - 1 * s;
4140
static_assert(eduProgramQueueThreadStartDelay > 0 * s);
4241
constexpr auto eduCommunicationMargin = 2 * s;

Sts1CobcSw/Firmware/EduProgramTransferThread.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ namespace
2626
{
2727
constexpr auto stackSize = 5000U;
2828
constexpr auto eduProgramTransferThreadInterval = 5 * s;
29-
// FIXME: const value correct?
3029

3130

3231
auto SendProgramsToEdu() -> void;

Sts1CobcSw/Firmware/StartupAndSpiSupervisorThread.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ constexpr auto stackSize = 3500 + EXTRA_SANITIZER_STACK_SIZE;
4747

4848
inline constexpr auto initialSleepTime = 10 * ms;
4949
// TODO: Think about how often the supervision should run
50-
// FIXME: Think about how often the supervision should run
5150
constexpr auto supervisionPeriod = 1 * s;
5251

5352

Sts1CobcSw/Firmware/TelemetryThread.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ namespace sts1cobcsw
4141
{
4242
namespace
4343
{
44-
// FIXME: const value correct?
4544
constexpr auto stackSize = 1200U;
4645
constexpr auto telemetryThreadInterval = 30 * s;
4746
// The delay until the first telemetry record is published and thereby the first beacon is sent.

Sts1CobcSw/Fram/Fram.hpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@ using Address = strong::type<std::uint32_t,
3535
strong::ordered>;
3636

3737

38-
// TODO: Set correct values
39-
// FIXME: already correct?
4038
inline constexpr auto memorySize = Size(1024 * 1024);
4139
inline constexpr auto correctDeviceId =
4240
DeviceId{0x7F_b, 0x7F_b, 0x7F_b, 0x7F_b, 0x7F_b, 0x7F_b, 0xC2_b, 0x26_b, 0x08_b};

0 commit comments

Comments
 (0)