File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -447,7 +447,7 @@ void i2c_init_internal(i2c_t *obj, const i2c_pinmap_t *pinmap)
447
447
448
448
#if defined(TARGET_STM32WL ) || defined(TARGET_STM32WB )
449
449
/* In Stop2 mode, I2C1 and I2C2 instances are powered down (only I2C3 register content is kept) */
450
- sleep_manager_lock_deep_sleep ();
450
+ // sleep_manager_lock_deep_sleep();
451
451
#endif
452
452
}
453
453
#endif
@@ -461,7 +461,7 @@ void i2c_init_internal(i2c_t *obj, const i2c_pinmap_t *pinmap)
461
461
462
462
#if defined(TARGET_STM32WL )
463
463
/* In Stop2 mode, I2C1 and I2C2 instances are powered down (only I2C3 register content is kept) */
464
- sleep_manager_lock_deep_sleep ();
464
+ // sleep_manager_lock_deep_sleep();
465
465
#endif
466
466
}
467
467
#endif
@@ -554,15 +554,15 @@ void i2c_deinit_internal(i2c_t *obj)
554
554
if (obj_s -> i2c == I2C_1 ) {
555
555
__HAL_RCC_I2C1_CLK_DISABLE ();
556
556
#if defined(TARGET_STM32WL ) || defined(TARGET_STM32WB )
557
- sleep_manager_unlock_deep_sleep ();
557
+ // sleep_manager_unlock_deep_sleep();
558
558
#endif
559
559
}
560
560
#endif
561
561
#if defined I2C2_BASE
562
562
if (obj_s -> i2c == I2C_2 ) {
563
563
__HAL_RCC_I2C2_CLK_DISABLE ();
564
564
#if defined(TARGET_STM32WL )
565
- sleep_manager_unlock_deep_sleep ();
565
+ // sleep_manager_unlock_deep_sleep();
566
566
#endif
567
567
}
568
568
#endif
You can’t perform that action at this time.
0 commit comments