mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-29 02:21:44 +00:00
Allowed sharing of common C++ code between RoboRIO and Simulation.
Change-Id: I8bf2bda9df389c13ae0567a62dbf0ca931ceb6f8
This commit is contained in:
committed by
Thomas Clark
parent
b371600f0f
commit
7c8124d76c
@@ -6,7 +6,6 @@
|
||||
|
||||
#include "Utility.h"
|
||||
|
||||
#include "HAL/cpp/StackTrace.hpp"
|
||||
#include "Task.h"
|
||||
#include "Timer.h"
|
||||
#include <stdio.h>
|
||||
@@ -36,11 +35,11 @@ void wpi_suspendOnAssertEnabled(bool enabled)
|
||||
|
||||
static void wpi_handleTracing()
|
||||
{
|
||||
if (stackTraceEnabled)
|
||||
{
|
||||
printf("\n-----------<Stack Trace>----------------\n");
|
||||
printCurrentStackTrace();
|
||||
}
|
||||
// if (stackTraceEnabled)
|
||||
// {
|
||||
// printf("\n-----------<Stack Trace>----------------\n");
|
||||
// printCurrentStackTrace();
|
||||
// }
|
||||
printf("\n");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user