Skip to content

Commit

Permalink
Remove periphery namespace
Browse files Browse the repository at this point in the history
This is done to adhere to #139
  • Loading branch information
danielschloms committed Feb 15, 2024
1 parent d9223e7 commit f7f36b1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Sts1CobcSw/Periphery/Rf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include <span>


namespace sts1cobcsw::periphery::rf
namespace sts1cobcsw::rf
{
using RODOS::AT;
using RODOS::MICROSECONDS;
Expand Down
2 changes: 1 addition & 1 deletion Sts1CobcSw/Periphery/Rf.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include <cstdint>


namespace sts1cobcsw::periphery::rf
namespace sts1cobcsw::rf
{
enum class TxType
{
Expand Down
4 changes: 2 additions & 2 deletions Tests/HardwareTests/Rf.test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit f7f36b1

Please sign in to comment.