diff options
| author | wackazong <[email protected]> | 2025-01-13 18:52:01 +0100 |
|---|---|---|
| committer | Ulf Lilleengen <[email protected]> | 2025-01-14 10:20:39 +0100 |
| commit | 4b0e20315bddbb15aaee0e0b96548de405694c7b (patch) | |
| tree | cddfe7095029a57459bf54ed6f41c42a57f667f6 | |
| parent | dd4f57677c68fbfd53208154d11def4dc4717de9 (diff) | |
Add Clone to Pull
| -rw-r--r-- | embassy-nrf/src/gpio.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-nrf/src/gpio.rs b/embassy-nrf/src/gpio.rs index cacaf1911..c78fa4df5 100644 --- a/embassy-nrf/src/gpio.rs +++ b/embassy-nrf/src/gpio.rs | |||
| @@ -30,7 +30,7 @@ pub enum Port { | |||
| 30 | } | 30 | } |
| 31 | 31 | ||
| 32 | /// Pull setting for an input. | 32 | /// Pull setting for an input. |
| 33 | #[derive(Debug, Eq, PartialEq)] | 33 | #[derive(Clone, Copy, Debug, Eq, PartialEq)] |
| 34 | #[cfg_attr(feature = "defmt", derive(defmt::Format))] | 34 | #[cfg_attr(feature = "defmt", derive(defmt::Format))] |
| 35 | pub enum Pull { | 35 | pub enum Pull { |
| 36 | /// No pull. | 36 | /// No pull. |
