Skip to content

Commit dd2811e

Browse files
authored
Merge pull request #7129 from dhalbert/limitations-doc-fix
Fix formatting of "Limitations:" in a couple of modules
2 parents 366cf4a + fed77e9 commit dd2811e

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

shared-bindings/analogio/AnalogOut.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@
3939
//| class AnalogOut:
4040
//| """Output analog values (a specific voltage).
4141
//|
42+
//| **Limitations:** Not available on nRF, RP2040, Spresense, as there is no on-chip DAC.
43+
//| On Espressif, available only on ESP32 and ESP32-S2; other chips do not have a DAC.
44+
//|
4245
//| Example usage::
4346
//|
4447
//| import analogio
@@ -52,8 +55,6 @@
5255
//|
5356
//| :param ~microcontroller.Pin pin: the pin to output to
5457
//|
55-
//| **Limitations:** Not available on nRF, RP2040, Spresense: there is no on-chip DAC.
56-
//| Espressif: available only on ESP32 and ESP32-S2; other chips do not have a DAC.
5758
//| """
5859
//| ...
5960
STATIC mp_obj_t analogio_analogout_make_new(const mp_obj_type_t *type, mp_uint_t n_args, size_t n_kw, const mp_obj_t *args) {

shared-bindings/microcontroller/Processor.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ MP_PROPERTY_GETTER(mcu_processor_reset_reason_obj,
107107
//| Is `None` if the temperature is not available.
108108
//|
109109
//| **Limitations:** Not available on ESP32 or ESP32-S3. On small SAMD21 builds without external flash,
110-
//| the reported temperature has reduced accuracy and precision, to save code space.
110+
//| the reported temperature has reduced accuracy and precision, to save code space.
111111
//| """
112112
STATIC mp_obj_t mcu_processor_get_temperature(mp_obj_t self) {
113113
float temperature = common_hal_mcu_processor_get_temperature();

0 commit comments

Comments
 (0)