mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
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:
committed by
Peter Johnson
parent
ff93050b31
commit
0cd05d1a42
@@ -86,7 +86,7 @@ void TiltPanCameraTest::GyroAngle() {
|
||||
Wait(0.5);
|
||||
m_gyro->Reset();
|
||||
|
||||
for (int i = 0; i < 600; i++) {
|
||||
for (int32_t i = 0; i < 600; i++) {
|
||||
m_pan->Set(i / 1000.0);
|
||||
Wait(0.001);
|
||||
}
|
||||
@@ -122,7 +122,7 @@ void TiltPanCameraTest::GyroCalibratedParameters() {
|
||||
Wait(0.5);
|
||||
m_gyro->Reset();
|
||||
|
||||
for (int i = 0; i < 600; i++) {
|
||||
for (int32_t i = 0; i < 600; i++) {
|
||||
m_pan->Set(i / 1000.0);
|
||||
Wait(0.001);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user