This is the first working version of the new logging system. Some work
in fine tuning still needs to be done. But is reasonably OK now.
This commit is contained in:
@ -50,8 +50,8 @@
|
||||
#include "fortify.h"
|
||||
#include "conman.h"
|
||||
#include "modriv.h"
|
||||
#include "servlog.h"
|
||||
#include "splitter.h"
|
||||
#include "logv2.h"
|
||||
/*-------------------------------------------------------------------------*/
|
||||
static float SimRandom(void)
|
||||
{
|
||||
@ -175,7 +175,7 @@ static int SimFix(void *self, int iError, float fNew)
|
||||
return MOTREDO;
|
||||
}
|
||||
|
||||
SICSLogWrite("Simulated Motor dying randomly", eHWError);
|
||||
Log(ERROR,"dev","%s","Simulated Motor dying randomly");
|
||||
if (fRand < 0.3333) {
|
||||
return MOTOK;
|
||||
} else if (fRand < 0.66666) {
|
||||
|
Reference in New Issue
Block a user