mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-01 02:41:48 +00:00
JNI for java
Normal vs recursive mutex HAL delineation
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
#include "Talon.h"
|
||||
|
||||
#include "DigitalModule.h"
|
||||
#include "NetworkCommunication/UsageReporting.h"
|
||||
//#include "NetworkCommunication/UsageReporting.h"
|
||||
#include "LiveWindow/LiveWindow.h"
|
||||
|
||||
/**
|
||||
@@ -29,7 +29,7 @@ void Talon::InitTalon() {
|
||||
SetPeriodMultiplier(kPeriodMultiplier_2X);
|
||||
SetRaw(m_centerPwm);
|
||||
|
||||
nUsageReporting::report(nUsageReporting::kResourceType_Talon, GetChannel(), GetModuleNumber() - 1);
|
||||
HALReport(HALUsageReporting::kResourceType_Talon, GetChannel(), GetModuleNumber() - 1);
|
||||
LiveWindow::GetInstance()->AddActuator("Talon", GetModuleNumber(), GetChannel(), this);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user