mkiiskila commented on a change in pull request #418: MYNEWT-808 Adding support 
for I2C LIS2DH12 driver
URL: https://github.com/apache/mynewt-core/pull/418#discussion_r127740237
 
 

 ##########
 File path: hw/drivers/sensors/lis2dh12/src/lis2dh12.c
 ##########
 @@ -860,6 +1089,8 @@ lis2dh12_config(struct lis2dh12 *lis2dh12, struct 
lis2dh12_cfg *cfg)
 
     lis2dh12->cfg.lc_s_mask = cfg->lc_s_mask;
 
+    os_time_delay((OS_TICKS_PER_SEC * 110)/1000);
 
 Review comment:
   If this delay line looks surprising. If it is meant to be here, should 
comment why.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to