mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-02-18 19:03:16 +00:00
Fix tests
This commit is contained in:
parent
abe07c9651
commit
099753ff99
@ -50,7 +50,7 @@ int main(int argc, char** argv) {
|
|||||||
return data.result;
|
return data.result;
|
||||||
}
|
}
|
||||||
|
|
||||||
// NOTE: This is normally provided by the platform module, but that's not loaded for TactilityCore
|
// NOTE: This is normally provided by the platform kernel module, but that's not loaded for TactilityCore
|
||||||
extern "C" {
|
extern "C" {
|
||||||
// Required for FreeRTOS
|
// Required for FreeRTOS
|
||||||
void vAssertCalled(unsigned long line, const char* const file) {
|
void vAssertCalled(unsigned long line, const char* const file) {
|
||||||
|
|||||||
@ -49,3 +49,11 @@ int main(int argc, char** argv) {
|
|||||||
|
|
||||||
return data.result;
|
return data.result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// NOTE: This is normally provided by the platform kernel module, but that's not loaded for TactilityCore
|
||||||
|
extern "C" {
|
||||||
|
// Required for FreeRTOS
|
||||||
|
void vAssertCalled(unsigned long line, const char* const file) {
|
||||||
|
__assert_fail("assert failed", file, line, "");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user