diff options
author | Diego Barrios Romero <eldruin@gmail.com> | 2018-11-13 19:08:40 +0100 |
---|---|---|
committer | Diego Barrios Romero <eldruin@gmail.com> | 2018-11-13 19:08:40 +0100 |
commit | 1700db61238a7e68e51d4e0db4d1154c1a5607a9 (patch) | |
tree | 24698b6a5b595d512a6e31355accd973a0dc7a0e /tests | |
parent | a80e700b38c0388bfe57e6bbc71c90a03b87e320 (diff) | |
download | ads1x1x-async-1700db61238a7e68e51d4e0db4d1154c1a5607a9.tar.gz ads1x1x-async-1700db61238a7e68e51d4e0db4d1154c1a5607a9.tar.xz ads1x1x-async-1700db61238a7e68e51d4e0db4d1154c1a5607a9.zip |
Add constructor/destructor methods for all devices
Diffstat (limited to 'tests')
-rw-r--r-- | tests/common/mod.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/common/mod.rs b/tests/common/mod.rs index ab629c3..140941e 100644 --- a/tests/common/mod.rs +++ b/tests/common/mod.rs @@ -74,7 +74,9 @@ macro_rules! impl_new_destroy { impl_new_destroy!(Ads1013, new_ads1013, destroy_ads1013, ic::Resolution12Bit, I2cTrans, interface::I2cInterface<I2cMock>); impl_new_destroy!(Ads1113, new_ads1113, destroy_ads1113, ic::Resolution16Bit, I2cTrans, interface::I2cInterface<I2cMock>); impl_new_destroy!(Ads1014, new_ads1014, destroy_ads1014, ic::Resolution12Bit, I2cTrans, interface::I2cInterface<I2cMock>); +impl_new_destroy!(Ads1114, new_ads1114, destroy_ads1114, ic::Resolution16Bit, I2cTrans, interface::I2cInterface<I2cMock>); impl_new_destroy!(Ads1015, new_ads1015, destroy_ads1015, ic::Resolution12Bit, I2cTrans, interface::I2cInterface<I2cMock>); +impl_new_destroy!(Ads1115, new_ads1115, destroy_ads1115, ic::Resolution16Bit, I2cTrans, interface::I2cInterface<I2cMock>); #[macro_export] macro_rules! assert_would_block { |