File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -29,14 +29,17 @@ stse_ReturnCode_t stse_set_default_handler_value(stse_Handler_t *pStseHandler) {
2929 memset (& pStseHandler -> perso_info , 0 , sizeof (pStseHandler -> perso_info ));
3030 pStseHandler -> pActive_host_session = NULL ;
3131 pStseHandler -> pActive_other_session = NULL ;
32+ #if defined(STSE_CONF_STSAFE_A_SUPPORT ) || \
33+ (defined(STSE_CONF_STSAFE_L_SUPPORT ) && defined(STSE_CONF_USE_I2C ))
3234 pStseHandler -> io .BusRecvStart = stse_platform_i2c_receive_start ;
3335 pStseHandler -> io .BusRecvContinue = stse_platform_i2c_receive_continue ;
3436 pStseHandler -> io .BusRecvStop = stse_platform_i2c_receive_stop ;
3537 pStseHandler -> io .BusSendStart = stse_platform_i2c_send_start ;
3638 pStseHandler -> io .BusSendContinue = stse_platform_i2c_send_continue ;
3739 pStseHandler -> io .BusSendStop = stse_platform_i2c_send_stop ;
38- pStseHandler -> io .IOLineGet = NULL ;
3940 pStseHandler -> io .BusWake = stse_platform_i2c_wake ;
41+ #endif /* STSE_CONF_STSAFE_A_SUPPORT || (STSE_CONF_STSAFE_L_SUPPORT && defined(STSE_CONF_USE_I2C) */
42+ pStseHandler -> io .IOLineGet = NULL ;
4043 pStseHandler -> io .BusRecovery = NULL ;
4144 pStseHandler -> io .PowerLineOff = stse_platform_power_off ;
4245 pStseHandler -> io .PowerLineOn = stse_platform_power_on ;
You can’t perform that action at this time.
0 commit comments