Solved a small bug in emcy.c (errRegMask was always '1' in EMCY_setError.
EMCY_setError has a new parameter, addInfo, a 16-bit value that will be copied to 16 most significat bits in 1003h (but it is not sent in EMCY message).
#ifndef TESTSLAVEGUI_H_
#define TESTSLAVEGUI_H_
#include "canfestival.h"
int main_can(s_BOARD SlaveBoard, char* LibraryPath);
void stop_slave();
#endif /*TESTSLAVEGUI_H_*/