Skip to content

Commit 4519b26

Browse files
committed
Getting to compile after rebase
1 parent 67cea24 commit 4519b26

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

cores/arduino/ard_sup/analog/ap3_analog.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ ap3_err_t analogReadResolution(uint8_t bits)
239239
_analogBits = 16; // max out the resolution when this happens
240240
return AP3_ERR;
241241
}
242-
_analogBits = res;
242+
_analogBits = bits;
243243
return AP3_OK;
244244
}
245245

libraries/Servo/src/Servo.cpp

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,10 @@ void Servo::write(uint8_t servoPosition)
4848
servoWrite(_servoPadNumber, newServoPosition); // This and the above write should both produce 1.5 ms wide pulses, though using different resolutions
4949
}
5050

51-
void Servo::writeMicroseconds(uint8_t servoPosition)
52-
{
53-
54-
servoWrite(_servoPadNumber, newServoPosition); // This and the above write should both produce 1.5 ms wide pulses, though using different resolutions
55-
}
51+
// void Servo::writeMicroseconds(uint8_t servoPosition)
52+
// {
53+
// servoWrite(_servoPadNumber, newServoPosition); // This and the above write should both produce 1.5 ms wide pulses, though using different resolutions
54+
// }
5655

5756
void Servo::detach(void)
5857
{

0 commit comments

Comments
 (0)