Rev 29 | Rev 31 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 29 | Rev 30 | ||
---|---|---|---|
Line 215... | Line 215... | ||
215 | } |
215 | } |
216 | 216 | ||
217 | void resetBmp2(void) |
217 | void resetBmp2(void) |
218 | { |
218 | { |
219 | HAL_GPIO_WritePin (I2C1_BusPower_GPIO_Port, I2C1_BusPower_Pin, GPIO_PIN_RESET); |
219 | HAL_GPIO_WritePin (I2C1_BusPower_GPIO_Port, I2C1_BusPower_Pin, GPIO_PIN_RESET); |
220 | HAL_Delay (200); |
220 | HAL_Delay (400); |
221 | HAL_GPIO_WritePin (I2C1_BusPower_GPIO_Port, I2C1_BusPower_Pin, GPIO_PIN_SET); |
221 | HAL_GPIO_WritePin (I2C1_BusPower_GPIO_Port, I2C1_BusPower_Pin, GPIO_PIN_SET); |
222 | HAL_Delay (200); |
222 | HAL_Delay (200); |
223 | init_bmp(&conf2,&bmp2); |
223 | init_bmp(&conf2,&bmp2); |
224 | 224 | ||
225 | } |
225 | } |