mirror of
https://github.com/nasa/fprime.git
synced 2025-12-15 14:05:24 -06:00
30 lines
560 B
C++
30 lines
560 B
C++
/*
|
|
* TestCommand1Impl.cpp
|
|
*
|
|
* Created on: Mar 28, 2014
|
|
* Author: tcanham
|
|
*/
|
|
|
|
#include <Autocoders/Python/test/tlm1/TestTelemImpl.hpp>
|
|
#include <cstdio>
|
|
|
|
TestTlmImpl::TestTlmImpl(const char* name) : Tlm::TestTlmComponentBase(name)
|
|
{
|
|
}
|
|
|
|
TestTlmImpl::~TestTlmImpl() {
|
|
}
|
|
|
|
void TestTlmImpl::init() {
|
|
Tlm::TestTlmComponentBase::init();
|
|
}
|
|
|
|
void TestTlmImpl::genTlm(U32 val) {
|
|
printf("Writing value %d to telemetry.\n",val);
|
|
this->tlmWrite_somechan(val);
|
|
}
|
|
|
|
void TestTlmImpl::aport_handler(FwIndexType portNum, I32 arg4, F32 arg5, U8 arg6) {
|
|
|
|
}
|