Merge pull request #246 from danielpieczko/fix/ep_buffer_ifdefs

Fix ifdefs/endifs in ep_buffer.xc
This commit is contained in:
Ross Owen
2022-03-02 11:05:38 +00:00
committed by GitHub
2 changed files with 4 additions and 3 deletions

View File

@@ -5,6 +5,7 @@ UNRELEASED
----------
* CHANGED: Exclude HID Report functions unless the HID feature is enabled
* FIXED: Incorrect conditional compilation of HID report code
3.1.0
-----

View File

@@ -1104,6 +1104,9 @@ void XUA_Buffer_Ep(register chanend c_aud_out,
break;
}
break;
#endif // if IAP_EA_NATIVE_TRANS
#endif // ifdef IAP
default:
#if ( 0 < HID_CONTROLS )
@@ -1125,9 +1128,6 @@ void XUA_Buffer_Ep(register chanend c_aud_out,
#endif
break;
//::
#endif
#endif
}