X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Scan%2FUARTConnect%2Fconnect_scan.h;h=492f4b145b875fe7c9a65555edeaacbba4590de8;hb=55d03f448e42ea581810bef3d55eb9c017572665;hp=94e7738cc08f5047f6577cc21bd43013d4a4210b;hpb=96e785b571a231265d64fbe5083371480cd3a549;p=kiibohd-controller.git diff --git a/Scan/UARTConnect/connect_scan.h b/Scan/UARTConnect/connect_scan.h index 94e7738..492f4b1 100644 --- a/Scan/UARTConnect/connect_scan.h +++ b/Scan/UARTConnect/connect_scan.h @@ -14,8 +14,7 @@ * along with this file. If not, see . */ -#ifndef __CONNECT_SCAN_H -#define __CONNECT_SCAN_H +#pragma once // ----- Includes ----- @@ -42,7 +41,7 @@ typedef enum UARTStatus { UARTStatus_SYN = 1, // Rx: SYN Received, waiting for SOH UARTStatus_SOH = 2, // Rx: SOH Received, waiting for Command UARTStatus_Command = 3, // Rx: Command Received, waiting for data - UARTStatus_Ready = 4, // Tx: Ready to receive commands + UARTStatus_Ready = 4, // Tx: Ready to send commands } UARTStatus; @@ -117,6 +116,3 @@ typedef struct AnimationCommand { void Connect_setup( uint8_t master ); void Connect_scan(); - -#endif // __CONNECT_SCAN_H -