btm: Fixed backwards sysver check in _btmCmdGetEventOutFlag.

This commit is contained in:
yellows8 2021-12-09 01:02:47 -05:00
parent 4a33b32f43
commit 587115f10a
No known key found for this signature in database
GPG Key ID: 0AF90DA3F1E60E43

View File

@ -28,7 +28,7 @@ static Result _btmCmdGetEventOutFlag(Event* out_event, bool autoclear, u32 cmd_i
Handle tmp_handle = INVALID_HANDLE;
Result rc = 0;
if (hosversionBefore(3,0,0)) {
if (hosversionAtLeast(3,0,0)) {
u8 out=0;
rc = serviceDispatchOut(&g_btmSrv, cmd_id, out,
.out_handle_attrs = { SfOutHandleAttr_HipcCopy },