Skip to content
Snippets Groups Projects
Commit 74d696ee authored by Nicolò Caruso's avatar Nicolò Caruso Committed by Emilio Corigliano
Browse files

[submodul, ARP] Radio frequency fix, PinHandler topic and config

Radio frequncy main fix to 433
Updated skyward-boardcore
PinHandler topic fix for TMTC, Config just one observation pin flip
parent 0336e43d
Branches
Tags
1 merge request!48[GS, ARP] New entrypoint for lyra_gs and ARP related things
......@@ -28,8 +28,8 @@ namespace Antennas
{
namespace PinHandlerConfig
{
constexpr unsigned int ARM_SWITCH_THRESHOLD = 2;
constexpr unsigned int ACTIVE_SWITCH_THRESHOLD = 2;
constexpr unsigned int ARM_SWITCH_THRESHOLD = 1;
constexpr unsigned int ACTIVE_SWITCH_THRESHOLD = 1;
} // namespace PinHandlerConfig
} // namespace Antennas
\ No newline at end of file
......@@ -85,7 +85,7 @@ void PinHandler::onActiveTransition(PinTransition transition)
if (transition == Boardcore::PinTransition::RISING_EDGE)
{
EventBroker::getInstance().post(Common::Events::TMTC_ARP_FOLLOW,
Common::Topics::TOPIC_ARP);
Common::Topics::TOPIC_TMTC);
// Log the event
PinData data = getPinData(PinList::ACTIVE_SWITCH);
......@@ -98,7 +98,7 @@ void PinHandler::onActiveTransition(PinTransition transition)
{
EventBroker::getInstance().post(
Common::Events::TMTC_ARP_RESET_ALGORITHM,
Common::Topics::TOPIC_ARP);
Common::Topics::TOPIC_TMTC);
// Log the event
PinData data = getPinData(PinList::ACTIVE_SWITCH);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment