Use a consistent method to interpret the HID_CONTROLS pre-processor symbol throughout the code base.

This commit is contained in:
Michael Banther
2019-09-26 14:45:17 +01:00
parent ba666fb314
commit 37bbea3726
7 changed files with 17 additions and 21 deletions

View File

@@ -58,7 +58,7 @@ void XUA_Buffer(
chanend c_sof,
chanend c_aud_ctl,
in port p_off_mclk
#ifdef HID_CONTROLS
#if( 0 < HID_CONTROLS )
, chanend c_hid
#endif
, chanend c_aud
@@ -97,7 +97,7 @@ void XUA_Buffer_Ep(chanend c_aud_out,
chanend c_sof,
chanend c_aud_ctl,
in port p_off_mclk
#ifdef HID_CONTROLS
#if( 0 < HID_CONTROLS )
, chanend c_hid
#endif
#ifdef CHAN_BUFF_CTRL