diff options
| author | Scott Shawcroft <scott@adafruit.com> | 2020-07-27 14:26:54 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-27 14:26:54 -0700 |
| commit | 7be9837f732f11424cbcc531728b231b3bceae94 (patch) | |
| tree | c2be81826b36ef78c09a05be2167360f5f341fab /shared-bindings/microcontroller/Processor.c | |
| parent | 7ab5c520e6d52ddad9ca11a72ba0aa170d3d280b (diff) | |
| parent | d356581651e4a11dc18787da95e2f96bfde3575d (diff) | |
Merge pull request #3193 from ciscorn/type-annotations
More type hints
Diffstat (limited to 'shared-bindings/microcontroller/Processor.c')
| -rw-r--r-- | shared-bindings/microcontroller/Processor.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/shared-bindings/microcontroller/Processor.c b/shared-bindings/microcontroller/Processor.c index d9f780f84..8c703891d 100644 --- a/shared-bindings/microcontroller/Processor.c +++ b/shared-bindings/microcontroller/Processor.c @@ -50,7 +50,7 @@ //| ... //| -//| frequency: int = ... +//| frequency: int //| """The CPU operating frequency in Hertz. (read-only)""" //| STATIC mp_obj_t mcu_processor_get_frequency(mp_obj_t self) { @@ -67,7 +67,7 @@ const mp_obj_property_t mcu_processor_frequency_obj = { }, }; -//| temperature: Optional[float] = ... +//| temperature: Optional[float] //| """The on-chip temperature, in Celsius, as a float. (read-only) //| //| Is `None` if the temperature is not available.""" @@ -87,7 +87,7 @@ const mp_obj_property_t mcu_processor_temperature_obj = { }, }; -//| uid: bytearray = ... +//| uid: bytearray //| """The unique id (aka serial number) of the chip as a `bytearray`. (read-only)""" //| STATIC mp_obj_t mcu_processor_get_uid(mp_obj_t self) { @@ -106,7 +106,7 @@ const mp_obj_property_t mcu_processor_uid_obj = { }, }; -//| voltage: Optional[float] = ... +//| voltage: Optional[float] //| """The input voltage to the microcontroller, as a float. (read-only) //| //| Is `None` if the voltage is not available.""" |
