Cleaned up integer type usage in wpilibc (#92)

Replaced all unsigned types to signed and int32_t with int in wpilibc
This commit is contained in:
Tyler Veness
2016-09-06 00:01:45 -07:00
committed by Peter Johnson
parent ff93050b31
commit 0cd05d1a42
169 changed files with 914 additions and 943 deletions

View File

@@ -24,10 +24,10 @@
*/
class DigitalInput : public LiveWindowSendable {
public:
explicit DigitalInput(uint32_t channel);
explicit DigitalInput(int channel);
virtual ~DigitalInput() = default;
uint32_t Get() const;
uint32_t GetChannel() const;
int Get() const;
int GetChannel() const;
void UpdateTable() override;
void StartLiveWindowMode() override;
@@ -37,7 +37,7 @@ class DigitalInput : public LiveWindowSendable {
std::shared_ptr<ITable> GetTable() const override;
private:
uint32_t m_channel;
int m_channel;
bool m_lastValue;
SimDigitalInput* m_impl;