mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-24 11:46:34 +00:00
Move platform #if to top of the file
This commit is contained in:
parent
62d26eb189
commit
549728d30b
@ -1,6 +1,8 @@
|
||||
/* MIT License - Copyright (c) 2019-2021 Francis Van Roie
|
||||
For full license information read the LICENSE file in the project folder */
|
||||
|
||||
#if defined(WINDOWS) || defined(POSIX)
|
||||
|
||||
#if defined(WINDOWS)
|
||||
#include <windows.h>
|
||||
#endif
|
||||
@ -167,7 +169,6 @@ void loop()
|
||||
// delay(6);
|
||||
}
|
||||
|
||||
#if defined(WINDOWS) || defined(POSIX)
|
||||
|
||||
void usage(char* progName)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user