StaticAnalysis: Only fail on errors, only log warnings.
[pub/USBasp.git] / Demos / Device / ClassDriver / CCID / CCID.h
index 88c29ae..b647c76 100644 (file)
@@ -1,14 +1,14 @@
 /*
              LUFA Library
 /*
              LUFA Library
-     Copyright (C) Dean Camera, 2018.
+     Copyright (C) Dean Camera, 2019.
 
   dean [at] fourwalledcubicle [dot] com
            www.lufa-lib.org
 */
 
 /*
 
   dean [at] fourwalledcubicle [dot] com
            www.lufa-lib.org
 */
 
 /*
-  Copyright 2018  Dean Camera (dean [at] fourwalledcubicle [dot] com)
-  Copyright 2018  Filipe Rodrigues (filipepazrodrigues [at] gmail [dot] com)
+  Copyright 2019  Dean Camera (dean [at] fourwalledcubicle [dot] com)
+  Copyright 2019  Filipe Rodrigues (filipepazrodrigues [at] gmail [dot] com)
 
   Permission to use, copy, modify, distribute, and sell this
   software and its documentation for any purpose is hereby granted
 
   Permission to use, copy, modify, distribute, and sell this
   software and its documentation for any purpose is hereby granted
                void EVENT_USB_Device_ControlRequest(void);
 
                uint8_t CALLBACK_CCID_IccPowerOn(USB_ClassInfo_CCID_Device_t* const CCIDInterfaceInfo,
                void EVENT_USB_Device_ControlRequest(void);
 
                uint8_t CALLBACK_CCID_IccPowerOn(USB_ClassInfo_CCID_Device_t* const CCIDInterfaceInfo,
-                                                uint8_t slot,
-                                                                                uint8_t* const atr,
-                                                                                uint8_t* const atrSize,
-                                                                                uint8_t* const error);
+                                                const uint8_t Slot,
+                                                                                uint8_t* const Atr,
+                                                                                uint8_t* const AtrSize,
+                                                                                uint8_t* const Error);
                uint8_t CALLBACK_CCID_IccPowerOff(USB_ClassInfo_CCID_Device_t* const CCIDInterfaceInfo,
                uint8_t CALLBACK_CCID_IccPowerOff(USB_ClassInfo_CCID_Device_t* const CCIDInterfaceInfo,
-                                                 uint8_t slot,
-                                                 uint8_t* const error);
+                                                 const uint8_t Slot,
+                                                 uint8_t* const Error);
                uint8_t CALLBACK_CCID_GetSlotStatus(USB_ClassInfo_CCID_Device_t* const CCIDInterfaceInfo,
                uint8_t CALLBACK_CCID_GetSlotStatus(USB_ClassInfo_CCID_Device_t* const CCIDInterfaceInfo,
-                                                   uint8_t slot,
-                                                   uint8_t* const error);
+                                                   const uint8_t Slot,
+                                                   uint8_t* const Error);
                uint8_t CALLBACK_CCID_XfrBlock(USB_ClassInfo_CCID_Device_t* const CCIDInterfaceInfo,
                uint8_t CALLBACK_CCID_XfrBlock(USB_ClassInfo_CCID_Device_t* const CCIDInterfaceInfo,
-                                                                          uint8_t slot,
-                                                                          uint8_t* const receivedBuffer,
-                                                                          uint8_t receivedBufferSize,
-                                                                          uint8_t* const sendBuffer,
-                                                                          uint8_t* const sentBufferSize,
-                                                                          uint8_t* const error);
+                                                                          const uint8_t Slot,
+                                                                          const uint8_t* ReceivedBuffer,
+                                                                          const uint8_t ReceivedBufferSize,
+                                                                          uint8_t* const SendBuffer,
+                                                                          uint8_t* const SentBufferSize,
+                                                                          uint8_t* const Error);
                uint8_t CALLBACK_CCID_Abort(USB_ClassInfo_CCID_Device_t* const CCIDInterfaceInfo,
                uint8_t CALLBACK_CCID_Abort(USB_ClassInfo_CCID_Device_t* const CCIDInterfaceInfo,
-                                           uint8_t slot,
-                                           uint8_t seq,
+                                           const uint8_t Slot,
+                                           const uint8_t Seq,
                                            uint8_t* const error);
 
 #endif
                                            uint8_t* const error);
 
 #endif