From ee39a0438f155f5d703e659c552173b7b431867b Mon Sep 17 00:00:00 2001 From: Jelmer Tiete Date: Sun, 29 Sep 2019 16:05:31 -0700 Subject: [PATCH 1/2] removed macro def --- games/017_Symon/src/symon.cpp | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/games/017_Symon/src/symon.cpp b/games/017_Symon/src/symon.cpp index c37636f..1eba594 100644 --- a/games/017_Symon/src/symon.cpp +++ b/games/017_Symon/src/symon.cpp @@ -13,28 +13,6 @@ #include #include - -/* Yield Sleep milliseconds with timeout - * - * Waits for the specified number of milliseconds, yielding while waiting. - * Uses millis() function, which overflows and returns to zero every ~49 days - */ -/* Yield Wait For with timeout - * - * Waits for a condition while yielding whenever the condition is not true. - * Passes the ret parameter whenever yielding. - */ -#define yield_wait_for_with_timeout(condition, timeout_time_in_milliseconds, ret)\ - do { \ - static unsigned long t1 = 0; \ - t1 = millis(); \ - while (!(condition) && (millis() - t1) \ - < timeout_time_in_milliseconds) { \ - yield(ret); \ - } \ - } while (0) - - // Set this to the name of your player (dog, cat, etc.) const char PlayerName[] = "Pet, Clever"; From 3660d1e928b1ba303c3dc34957459dc3305c65cf Mon Sep 17 00:00:00 2001 From: Jelmer Tiete Date: Sun, 20 Oct 2019 19:07:50 -0700 Subject: [PATCH 2/2] bumped lib version --- games/017_Symon/project.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/games/017_Symon/project.properties b/games/017_Symon/project.properties index 377d6a3..b8b180f 100644 --- a/games/017_Symon/project.properties +++ b/games/017_Symon/project.properties @@ -1,2 +1,2 @@ name=symon -dependencies.hackerpet=0.2.2 +dependencies.hackerpet=0.2.3