Removed analog and digital module numbers

AnalogModule and DigitalModule classes still exist, at least until they are
refactored into the classes that use them.

Change-Id: I5544d5418822f19d54ba0a5d651e64fad8b7b10d
This commit is contained in:
thomasclark
2014-06-13 17:45:10 -04:00
parent aa3b24092a
commit 58021f7397
90 changed files with 852 additions and 1988 deletions

View File

@@ -5,9 +5,9 @@
#include "Compressor.h"
#include "WPIErrors.h"
void Compressor::InitCompressor(uint8_t module) {
void Compressor::InitCompressor(uint8_t pcmID) {
m_table = 0;
m_pcm_pointer = initializeCompressor(module);
m_pcm_pointer = initializeCompressor(pcmID);
SetClosedLoopControl(true);
}
@@ -26,8 +26,8 @@ Compressor::Compressor() {
*
* @param module The module number to use (1 or 2)
*/
Compressor::Compressor(uint8_t module) {
InitCompressor(module);
Compressor::Compressor(uint8_t pcmID) {
InitCompressor(pcmID);
}
Compressor::~Compressor() {
@@ -160,4 +160,3 @@ void Compressor::ValueChanged(ITable* source, const std::string& key, EntryValue
else Stop();
}