diff --git a/drivers/hts221/hts221.c b/drivers/hts221/hts221.c
index 7ff9b79670074cea42025d8ac87f78ed958e4b76..a22e057ba9f759948065ff4b5f8a0f70d327538f 100644
--- a/drivers/hts221/hts221.c
+++ b/drivers/hts221/hts221.c
@@ -147,7 +147,7 @@ int hts221_init(hts221_t *dev, const hts221_params_t *params)
 {
     uint8_t reg;
 
-    memcpy(&dev->p, params, sizeof(hts221_params_t));
+    dev->p = *params;
 
     i2c_acquire(BUS);
     /* try if we can interact with the device by reading its manufacturer ID */