Commit Diff


commit - f17a44b79a47498b6ccfcd2a97ef3a23a7f7aeda
commit + 68de62e15283b1f03fb32c3c19b55a52719704ff
blob - 2cbfc4b253df7e5c98eb28043472e4be92209fa4
blob + 91ed0768eda2efa5c651da097817dda010c5a390
--- src/main.c
+++ src/main.c
@@ -29,7 +29,6 @@ enum clocks_e
 };
 
 static volatile sig_atomic_t should_quit = 0;
-static int reload_config = 0;
 static int reload_weather = 0;
 static int reload_mail = 0;
 static int reload_battery = 0;
@@ -176,11 +175,6 @@ main(void)
 	}
 	while (!should_quit)
 	{
-		if (reload_config)
-		{
-			read_config();
-			reload_config = 0;
-		}
 		if (mail_path_valid == false)
 			close_mail();
 
@@ -216,10 +210,6 @@ main(void)
 				(void)printf("Got command 0x%02x: ", cmd);
 				switch (cmd)
 				{
-					case 0x01:
-						(void)puts("reloading config");
-						reload_config = 1;
-						break;
 					case 0x02:
 						(void)puts("reloading weather");
 						reload_weather = 1;