mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-27 13:16:45 +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
|
/* MIT License - Copyright (c) 2019-2021 Francis Van Roie
|
||||||
For full license information read the LICENSE file in the project folder */
|
For full license information read the LICENSE file in the project folder */
|
||||||
|
|
||||||
|
#if defined(WINDOWS) || defined(POSIX)
|
||||||
|
|
||||||
#if defined(WINDOWS)
|
#if defined(WINDOWS)
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#endif
|
#endif
|
||||||
@ -167,7 +169,6 @@ void loop()
|
|||||||
// delay(6);
|
// delay(6);
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined(WINDOWS) || defined(POSIX)
|
|
||||||
|
|
||||||
void usage(char* progName)
|
void usage(char* progName)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user