Use APP_VERSION_AT_LEAST in a couple other places

This commit is contained in:
Cameron Gutman committed 2022-10-22 14:45:19 -05:00
1 parent b282c7e603
commit af1dbfe505
2 files changed
+2 -4

No files matched your search

+1 -1
View File
@@ -465,7 +465,7 @@ static int sendEnableHaptics(void) {
// Avoid sending this on earlier server versions, since they may terminate
// the connection upon receiving an unexpected packet.
if (AppVersionQuad[0] < 7 || (AppVersionQuad[0] == 7 && AppVersionQuad[1] < 1)) {
if (!APP_VERSION_AT_LEAST(7, 1, 0)) {
return 0;
}