Add extern C to DigitalGlitchFilterJNI (#2002)

This commit is contained in:
Thad House
2019-10-28 22:30:04 -07:00
committed by Peter Johnson
parent 916596cb01
commit a72f809911

View File

@@ -1,5 +1,5 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2016-2018 FIRST. All Rights Reserved. */
/* Copyright (c) 2016-2019 FIRST. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of */
/* the project. */
@@ -13,6 +13,8 @@
using namespace frc;
extern "C" {
/*
* Class: edu_wpi_first_hal_DigitalGlitchFilterJNI
* Method: setFilterSelect
@@ -76,3 +78,5 @@ Java_edu_wpi_first_hal_DigitalGlitchFilterJNI_getFilterPeriod
CheckStatus(env, status);
return result;
}
} // extern "C"