From ee39a0438f155f5d703e659c552173b7b431867b Mon Sep 17 00:00:00 2001 From: Jelmer Tiete Date: Sun, 29 Sep 2019 16:05:31 -0700 Subject: [PATCH] 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";