refactoring

This commit is contained in:
2021-07-16 13:40:07 +02:00
parent 8db76a967e
commit 6abcd7305a
4 changed files with 7 additions and 5 deletions

View File

@ -2,6 +2,7 @@
#include "OBSWConfig.h"
#include "devices/devAddresses.h"
#include "objects/systemObjectList.h"
#include "hardware_init.h"
#include "mission/utility/TmFunnel.h"
#include "mission/core/GenericFactory.h"
@ -57,7 +58,7 @@ void ObjectFactory::produce(void* args) {
/* UDP Server */
new TmTcLwIpUdpBridge(objects::UDP_BRIDGE,
objects::CCSDS_DISTRIBUTOR, objects::TM_STORE, objects::TC_STORE);
new UdpTcLwIpPollingTask(objects::UDP_POLLING_TASK, objects::UDP_BRIDGE);
new UdpTcLwIpPollingTask(objects::UDP_POLLING_TASK, objects::UDP_BRIDGE, &gnetif);
#endif /* OBSW_ADD_CORE_COMPONENTS == 1 */
ObjectFactory::produceGenericObjects();