Skip to content

Commit 1efd966

Browse files
changed samplingInterval from int to unsigned int to remove compiler warning
1 parent 9c789b9 commit 1efd966

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/StandardFirmata/StandardFirmata.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ int pinState[TOTAL_PINS]; // any value that has been written
6565
/* timer variables */
6666
unsigned long currentMillis; // store the current value from millis()
6767
unsigned long previousMillis; // for comparison with currentMillis
68-
int samplingInterval = 19; // how often to run the main loop (in ms)
68+
unsigned int samplingInterval = 19; // how often to run the main loop (in ms)
6969

7070
/* i2c data */
7171
struct i2c_device_info {

0 commit comments

Comments
 (0)