Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove relay classes #7695

Merged
merged 4 commits into from
Jan 17, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
85 changes: 0 additions & 85 deletions glass/src/lib/native/cpp/hardware/Relay.cpp

This file was deleted.

36 changes: 0 additions & 36 deletions glass/src/lib/native/include/glass/hardware/Relay.h

This file was deleted.

16 changes: 0 additions & 16 deletions hal/src/main/java/edu/wpi/first/hal/PortsJNI.java
Original file line number Diff line number Diff line change
Expand Up @@ -106,22 +106,6 @@ public class PortsJNI extends JNIWrapper {
*/
public static native int getNumInterrupts();

/**
* Gets the number of relay channels in the current system.
*
* @return the number of relay channels
* @see "HAL_GetNumRelayChannels"
*/
public static native int getNumRelayChannels();

/**
* Gets the number of relay headers in the current system.
*
* @return the number of relay headers
* @see "HAL_GetNumRelayHeaders"
*/
public static native int getNumRelayHeaders();

/**
* Gets the number of PCM modules in the current system.
*
Expand Down
63 changes: 0 additions & 63 deletions hal/src/main/java/edu/wpi/first/hal/RelayJNI.java

This file was deleted.

This file was deleted.

26 changes: 0 additions & 26 deletions hal/src/main/native/cpp/jni/PortsJNI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -169,32 +169,6 @@ Java_edu_wpi_first_hal_PortsJNI_getNumInterrupts
return value;
}

/*
* Class: edu_wpi_first_hal_PortsJNI
* Method: getNumRelayChannels
* Signature: ()I
*/
JNIEXPORT jint JNICALL
Java_edu_wpi_first_hal_PortsJNI_getNumRelayChannels
(JNIEnv* env, jclass)
{
jint value = HAL_GetNumRelayChannels();
return value;
}

/*
* Class: edu_wpi_first_hal_PortsJNI
* Method: getNumRelayHeaders
* Signature: ()I
*/
JNIEXPORT jint JNICALL
Java_edu_wpi_first_hal_PortsJNI_getNumRelayHeaders
(JNIEnv* env, jclass)
{
jint value = HAL_GetNumRelayHeaders();
return value;
}

/*
* Class: edu_wpi_first_hal_PortsJNI
* Method: getNumCTREPCMModules
Expand Down
93 changes: 0 additions & 93 deletions hal/src/main/native/cpp/jni/RelayJNI.cpp

This file was deleted.

Loading
Loading