From d6cf2296232682e5847d48cdc84f415e68326dad Mon Sep 17 00:00:00 2001 From: Lucas Hicks Date: Wed, 25 Oct 2023 14:56:42 +1000 Subject: [PATCH] Inverts figurines endpoint. --- db-handler/app/constants.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/db-handler/app/constants.py b/db-handler/app/constants.py index 425334b..be15b6f 100644 --- a/db-handler/app/constants.py +++ b/db-handler/app/constants.py @@ -25,5 +25,5 @@ LOGGER_TIME_FORMAT = '%I:%M:%S %p' # Values for microcontroller and servos/actuators -FREE = 0 # 0 is sent to the microcontroller if user is not busy -BUSY = 1 # 1 is sent to the microcontroller if user is busy +FREE = 1 # 1 is sent to the microcontroller if user is not busy +BUSY = 0 # 0 is sent to the microcontroller if user is busy