Fixed whitespace in analogio

This commit is contained in:
dherrada 2020-04-28 18:43:40 -04:00
parent 724dcda3ec
commit c3897d0add
No known key found for this signature in database
GPG Key ID: CE2ADBAB8775CE81
2 changed files with 59 additions and 60 deletions

View File

@ -91,7 +91,7 @@ STATIC void check_for_deinit(analogio_analogin_obj_t *self) {
// Provided by context manager helper.
//|def __exit__(self, ) -> Any:
//| """Automatically deinitializes the hardware when exiting a context. See
//|"Automatically deinitializes the hardware when exiting a context. See
//|:ref:`lifetime-and-contextmanagers` for more info."""
//|...
STATIC mp_obj_t analogio_analogin___exit__(size_t n_args, const mp_obj_t *args) {

View File

@ -52,7 +52,6 @@
//|dac = analogio.AnalogOut(pin.PA02) # output on pin PA02
//|dac.value = 32768 # makes PA02 1.65V"""
//|def __init__(self, pin: microcontroller.Pin):
//|
//|"""Use the AnalogOut on the given pin.
//|
//|:param ~microcontroller.Pin pin: the pin to output to"""