FreeCalypso > hg > fc-tourmaline
view src/cs/drivers/drv_app/fchg/fchg_func_i.h @ 286:ee16d57b32b2
Condat audio_Init(): rm setting of sidetone level
The default sidetone level in the absence of audio mode loading
is just that, a basic default without any promises of good tuning.
In the original TCS211 code this default sidetone level was set in
two places: first in L1 init of ABB-via-DSP registers (set to -17 dB),
and then initialized again in Condat audio_Init(), this time set to
-5 dB. The present change removes the redundant second initialization.
The default sidetone level is now -17 dB instead of -5 dB with this
change, but again it is just the default; all serious users are now
expected to use audio mode config files.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 09 Nov 2021 02:16:59 +0000 |
parents | 7420959e02ec |
children |
line wrap: on
line source
/* * Declarations of internal functions live here. */ #ifndef __FCHG_FUNC_I #define __FCHG_FUNC_I #include "fchg/fchg_messages.h" void pwr_init_discharge(void); void pwr_load_ffs_batt_table(void); void pwr_load_ffs_charging_config(void); void pwr_check_ffs_bsim(void); void pwr_set_default_batt_table(void); void pwr_process_message(T_RV_HDR *msg_ptr); void pwr_process_adc(struct pwr_adc_ind_s *msg); void pwr_handle_timer(void); void pwr_charger_plug_unplug_ind(void); void pwr_charge_start_req(void); void pwr_charge_stop_req(void); #endif /* include guard */