Skip to content

Commit

Permalink
Remove the competition namespace from the v5 namespace (#564)
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard-Stump authored Apr 9, 2023
1 parent 23239c2 commit 6c54791
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/devices/controller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ std::int32_t Controller::rumble(const char* rumble_pattern) {
return controller_rumble(_id, rumble_pattern);
}

} // namespace v5

namespace competition {
std::uint8_t get_status(void) {
return competition_get_status();
Expand All @@ -81,5 +83,4 @@ std::uint8_t is_disabled(void) {
return competition_is_disabled();
}
} // namespace competition
} // namespace v5
} // namespace pros

0 comments on commit 6c54791

Please sign in to comment.