Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9b69ba11 authored by Satya Krishna Pindiproli's avatar Satya Krishna Pindiproli
Browse files

hal: Fix compilation error when flag is not defined

- HAL compilation fails if the flag HFP_ENABLED is not defined.
- Fix the issue by changing the function prototype if the flag
  is undefined.

CRs-Fixed: 678534
Change-Id: I7043082fd337604899666abc1f5a6c331a4421bc
parent 7b4eb6a2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -56,7 +56,7 @@ void audio_extn_fm_set_parameters(struct audio_device *adev,
                                   struct str_parms *parms);
#endif
#ifndef HFP_ENABLED
void audio_extn_hfp_set_parameters(adev, parms) (0)
#define audio_extn_hfp_set_parameters(adev, parms) (0)
#else
void audio_extn_hfp_set_parameters(struct audio_device *adev,
                                           struct str_parms *parms);