diff --git a/Sts1CobcSw/Periphery/Rf.cpp b/Sts1CobcSw/Periphery/Rf.cpp index 8b9a5598..609fd93d 100644 --- a/Sts1CobcSw/Periphery/Rf.cpp +++ b/Sts1CobcSw/Periphery/Rf.cpp @@ -12,7 +12,7 @@ #include -namespace sts1cobcsw::periphery::rf +namespace sts1cobcsw::rf { using RODOS::AT; using RODOS::MICROSECONDS; diff --git a/Sts1CobcSw/Periphery/Rf.hpp b/Sts1CobcSw/Periphery/Rf.hpp index a874233f..830f442c 100644 --- a/Sts1CobcSw/Periphery/Rf.hpp +++ b/Sts1CobcSw/Periphery/Rf.hpp @@ -4,7 +4,7 @@ #include -namespace sts1cobcsw::periphery::rf +namespace sts1cobcsw::rf { enum class TxType { diff --git a/Tests/HardwareTests/Rf.test.cpp b/Tests/HardwareTests/Rf.test.cpp index d6557a93..27d44786 100644 --- a/Tests/HardwareTests/Rf.test.cpp +++ b/Tests/HardwareTests/Rf.test.cpp @@ -28,12 +28,12 @@ class RfTest : public RODOS::StaticThread<> { PRINTF("\nRF test\n\n"); - periphery::rf::Initialize(periphery::rf::TxType::morse); + rf::Initialize(rf::TxType::morse); PRINTF("RF module initialized\n"); PRINTF("\n"); auto correctPartInfo = 0x4463; - auto partInfo = periphery::rf::ReadPartInfo(); + auto partInfo = rf::ReadPartInfo(); PRINTF("Part info: 0x%4x == 0x%4x\n", partInfo, correctPartInfo); Check(partInfo == correctPartInfo);