]> git.donarmstrong.com Git - kiibohd-controller.git/blobdiff - Scan/UARTConnect/connect_scan.h
UARTConnect enumeration working!
[kiibohd-controller.git] / Scan / UARTConnect / connect_scan.h
index 94e7738cc08f5047f6577cc21bd43013d4a4210b..492f4b145b875fe7c9a65555edeaacbba4590de8 100644 (file)
@@ -14,8 +14,7 @@
  * along with this file.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-#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
-