commit ef98c9dcaa571adb0bc9b0add9f6c768119401d3
parent e866e08f8a609603b23fb4347e6d1549eeb6eb31
Author: amin <dev@aminmesbah.com>
Date: Sun, 14 Aug 2022 17:03:00 +0000
Remove debug logs
FossilOrigin-Name: 18ffbc418936ed9b6816eab27986805e0e2a6d188c87a22c256803d15161b0c2
Diffstat:
2 files changed, 1 insertion(+), 4 deletions(-)
diff --git a/PKGBUILD b/PKGBUILD
@@ -16,7 +16,7 @@ source=(build.sh
${pkgname}.service)
# update with updpkgsums from pacman-contrib
sha256sums=('760c19a24dce4341650857d28f3f6e6f7fe788428c9658ff9082d01c6afaec72'
- '68532958d2b33a063ce0c61901f5e9515cbee830838bcde2ff143c23c2aadc08'
+ '07b2e03e16c38b2e98c0c0f293196d8a168cc5189d72fed2bf4859cc9d0e903f'
'7e12e5df4bae12cb21581ba157ced20e1986a0508dd10d0e8a4ab9a4cf94e85c'
'2d6b333afdf16af84232032040703c054b5529a79d4bea4e65831fd50b05635a')
diff --git a/main.c b/main.c
@@ -89,7 +89,6 @@ int main(void)
while (running)
{
- print_state(state);
switch (state)
{
case DEVICE_HANDLE_INACCESSIBLE:
@@ -234,7 +233,6 @@ int main(void)
printf("ERROR: Failed to open output file for temperature.\n");
state = FATAL_ERROR;
}
- printf("write T\n");
write(f, buf, str_len);
close(f);
} break;
@@ -249,7 +247,6 @@ int main(void)
printf("ERROR: Failed to open output file for CO2.\n");
state = FATAL_ERROR;
}
- printf("write CO2\n");
write(f, buf, str_len);
close(f);
} break;