From 1700db61238a7e68e51d4e0db4d1154c1a5607a9 Mon Sep 17 00:00:00 2001 From: Diego Barrios Romero Date: Tue, 13 Nov 2018 19:08:40 +0100 Subject: Add constructor/destructor methods for all devices --- tests/common/mod.rs | 2 ++ 1 file changed, 2 insertions(+) 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); impl_new_destroy!(Ads1113, new_ads1113, destroy_ads1113, ic::Resolution16Bit, I2cTrans, interface::I2cInterface); impl_new_destroy!(Ads1014, new_ads1014, destroy_ads1014, ic::Resolution12Bit, I2cTrans, interface::I2cInterface); +impl_new_destroy!(Ads1114, new_ads1114, destroy_ads1114, ic::Resolution16Bit, I2cTrans, interface::I2cInterface); impl_new_destroy!(Ads1015, new_ads1015, destroy_ads1015, ic::Resolution12Bit, I2cTrans, interface::I2cInterface); +impl_new_destroy!(Ads1115, new_ads1115, destroy_ads1115, ic::Resolution16Bit, I2cTrans, interface::I2cInterface); #[macro_export] macro_rules! assert_would_block { -- cgit v1.2.3-54-g00ecf