From dfdb080f7c15930fd9160d43ed7e291e36efeb54 Mon Sep 17 00:00:00 2001 From: Timothy Schoen Date: Tue, 27 Aug 2024 22:02:14 +0200 Subject: [PATCH 1/2] Change application ID --- Code_source/Compiled/control/pd.link/link.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Code_source/Compiled/control/pd.link/link.cpp b/Code_source/Compiled/control/pd.link/link.cpp index e405e92ef..4d52feb34 100644 --- a/Code_source/Compiled/control/pd.link/link.cpp +++ b/Code_source/Compiled/control/pd.link/link.cpp @@ -14,7 +14,7 @@ #endif const int kPort = 12021; -const uint64_t kApplicationId = 7681412; +const uint64_t kApplicationId = 7680412; const unsigned int kMulticastAddress = (224 << 24) + (0 << 16) + (0 << 8) + 123; // 224.0.0.123 // t_link manages the process of finding connectable devices, and opening a 2-way UDP connection From 2bec318001e839acd70793ca4335a629e2f33367 Mon Sep 17 00:00:00 2001 From: Timothy Schoen Date: Tue, 27 Aug 2024 22:02:49 +0200 Subject: [PATCH 2/2] Mark things constexpr --- Code_source/Compiled/control/pd.link/link.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Code_source/Compiled/control/pd.link/link.cpp b/Code_source/Compiled/control/pd.link/link.cpp index 4d52feb34..32095f7a2 100644 --- a/Code_source/Compiled/control/pd.link/link.cpp +++ b/Code_source/Compiled/control/pd.link/link.cpp @@ -13,9 +13,9 @@ #include #endif -const int kPort = 12021; -const uint64_t kApplicationId = 7680412; -const unsigned int kMulticastAddress = (224 << 24) + (0 << 16) + (0 << 8) + 123; // 224.0.0.123 +constexpr int kPort = 12021; +constexpr uint64_t kApplicationId = 7680412; +constexpr unsigned int kMulticastAddress = (224 << 24) + (0 << 16) + (0 << 8) + 123; // 224.0.0.123 // t_link manages the process of finding connectable devices, and opening a 2-way UDP connection class t_link {