diff options
| author | Scott Shawcroft <scott.shawcroft@gmail.com> | 2017-02-19 14:38:24 +0100 |
|---|---|---|
| committer | Scott Shawcroft <scott.shawcroft@gmail.com> | 2017-02-19 14:38:24 +0100 |
| commit | c4ee6d5716d89ab57ad4b70712f2cf9e49b37e14 (patch) | |
| tree | cb7971d6e5363fed6709d621c737d9ab6b29b78b | |
| parent | d67968e3c33938c10fe909ef88852e7651419c20 (diff) | |
atmel-samd: Remove pin reference from AnalogOut error. Fixes #83
| -rw-r--r-- | atmel-samd/common-hal/nativeio/AnalogOut.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/atmel-samd/common-hal/nativeio/AnalogOut.c b/atmel-samd/common-hal/nativeio/AnalogOut.c index df4cc44a2..0046c2f55 100644 --- a/atmel-samd/common-hal/nativeio/AnalogOut.c +++ b/atmel-samd/common-hal/nativeio/AnalogOut.c @@ -38,7 +38,7 @@ void common_hal_nativeio_analogout_construct(nativeio_analogout_obj_t* self, const mcu_pin_obj_t *pin) { if (pin->pin != PIN_PA02) { nlr_raise(mp_obj_new_exception_msg(&mp_type_ValueError, - "AnalogOut only supported on pin PA02.")); + "AnalogOut not supported on given pin.")); return; } struct dac_config config_dac; |
