Skip to content

Commit

Permalink
Merge pull request #52 from accek/patch-1
Browse files Browse the repository at this point in the history
DJIDeviceUtil.isDJIDevice: fix logic error
  • Loading branch information
Michael-DJI authored Feb 10, 2022
2 parents f8f36ca + 5b00677 commit 975459a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ object DJIDeviceUtil {
*/
@JvmStatic
fun isDJIDevice(): Boolean {
return getDJIDeviceType() == DJIDeviceType.NONE
return getDJIDeviceType() != DJIDeviceType.NONE
}

/**
Expand Down

0 comments on commit 975459a

Please sign in to comment.