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.

48 lines
669 B

/*
*
*
*
*
*
*
*
*
*
*
*
*/
#include "errorHandling.h"
#include <iostream>
ErrorHandler errorHandle;
int initPlatform()
{
// Dev. Module initialisation "Ex i2c_init() ...."
return 0;
}
int main(int argc, char *argv[])
{
errorHandle.addNewError(-34,"Test eroor 1");
errorHandle.addNewError(-33,"Test eroor 2");
errorHandle.addNewError(-23,"Test eroor 3");
errorHandle.addNewError(-1,"Test eroor 4");
errorHandle.addNewError(-34, "Test eroor 5");
errorHandle.addNewError(-34,"Test eroor 6");
// errorHandle.handleError(-34);
errorHandle.addNewError(-34,"Test eroor");
// Init
std::cout << "Main" << std::endl;
return 1;
}