You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
739 B

/*
* Authors : Kerem Yollu & Edwin Koch
* Date : 07.03.2021
*
* Description :
* TODO : Write description or doxygene
*
*/
#include <iostream>
#include "errorHandling.h"
#include "commandManager.h"
ErrorHandler errorHandle;
CommandManager commander;
int initPlatform()
{
// Dev. Module initialisation "Ex i2c_init() ...."
return 0;
}
void dummy()
{
std::cout << "HElllooo from the the other side signed adele" << std::endl;
}
int main(int argc, char *argv[])
{
// Init
std::cout << "Main" << std::endl;
//errorHandle.addNewError(-34,"Test eroor 1");
//errorHandle.handleError(-34);
commander.addNewCommand("test", "The test command for testing the test", dummy);
commander(argv[1]);
return 1;
}