22 lines
321 B
C++
22 lines
321 B
C++
/*
|
|
* @file unit_test_framework.cpp
|
|
*
|
|
* Created on: Mar 4, 2018
|
|
* @author Andrey Belomutskiy, (c) 2012-2020
|
|
*/
|
|
|
|
#include "pch.h"
|
|
|
|
#include <stdlib.h>
|
|
|
|
void chDbgAssert(int c, char *msg, void *arg) {
|
|
if (!c) {
|
|
printf("assert failed: %s\r\n", msg);
|
|
exit(-1);
|
|
}
|
|
}
|
|
|
|
uint32_t getTimeNowLowerNt(void) {
|
|
return 0;
|
|
}
|