From 51a35daed7bb8961e5a6addb4cc95e3fea275832 Mon Sep 17 00:00:00 2001 From: Peter Johnson Date: Mon, 23 Nov 2015 00:48:23 -0800 Subject: [PATCH] spiSetBitsPerWord doesn't exist; remove from headers. Change-Id: I4899ec92a5198199699e7d840c9e0801cccdb861 --- hal/include/HAL/Digital.hpp | 1 - wpilibj/src/athena/java/edu/wpi/first/wpilibj/hal/SPIJNI.java | 2 -- 2 files changed, 3 deletions(-) diff --git a/hal/include/HAL/Digital.hpp b/hal/include/HAL/Digital.hpp index caf93c86a6..2ef512df80 100644 --- a/hal/include/HAL/Digital.hpp +++ b/hal/include/HAL/Digital.hpp @@ -96,7 +96,6 @@ extern "C" int32_t spiRead(uint8_t port, uint8_t *buffer, uint8_t count); void spiClose(uint8_t port); void spiSetSpeed(uint8_t port, uint32_t speed); - void spiSetBitsPerWord(uint8_t port, uint8_t bpw); void spiSetOpts(uint8_t port, int msb_first, int sample_on_trailing, int clk_idle_high); void spiSetChipSelectActiveHigh(uint8_t port, int32_t *status); void spiSetChipSelectActiveLow(uint8_t port, int32_t *status); diff --git a/wpilibj/src/athena/java/edu/wpi/first/wpilibj/hal/SPIJNI.java b/wpilibj/src/athena/java/edu/wpi/first/wpilibj/hal/SPIJNI.java index a8251f4a47..8e3442d617 100644 --- a/wpilibj/src/athena/java/edu/wpi/first/wpilibj/hal/SPIJNI.java +++ b/wpilibj/src/athena/java/edu/wpi/first/wpilibj/hal/SPIJNI.java @@ -16,8 +16,6 @@ public class SPIJNI extends JNIWrapper { public static native void spiSetSpeed(byte port, int speed); - public static native void spiSetBitsPerWord(byte port, byte bpw); - public static native void spiSetOpts(byte port, int msb_first, int sample_on_trailing, int clk_idle_high);