diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2014-09-14 11:45:02 +1000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2014-09-14 11:45:02 +1000 |
commit | 41634c45303643e3756b3af9d0123095942481bb (patch) | |
tree | f39030c861b8ff9225f31d0fecd5639934b68988 /Projects/TempDataLogger | |
parent | 6c8ebd70c763790c3550be9b9e8b81aa1e225415 (diff) | |
download | lufa-41634c45303643e3756b3af9d0123095942481bb.tar.gz lufa-41634c45303643e3756b3af9d0123095942481bb.tar.bz2 lufa-41634c45303643e3756b3af9d0123095942481bb.zip |
Obsolete the old MACROS and MACROE convenience macros.
Diffstat (limited to 'Projects/TempDataLogger')
-rw-r--r-- | Projects/TempDataLogger/Lib/SCSI.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Projects/TempDataLogger/Lib/SCSI.h b/Projects/TempDataLogger/Lib/SCSI.h index 1a01a55ea..ec9c3e2a4 100644 --- a/Projects/TempDataLogger/Lib/SCSI.h +++ b/Projects/TempDataLogger/Lib/SCSI.h @@ -56,9 +56,9 @@ * \param[in] Acode New SCSI additional sense key to set the additional sense code to * \param[in] Aqual New SCSI additional sense key qualifier to set the additional sense qualifier code to */ - #define SCSI_SET_SENSE(Key, Acode, Aqual) MACROS{ SenseData.SenseKey = (Key); \ - SenseData.AdditionalSenseCode = (Acode); \ - SenseData.AdditionalSenseQualifier = (Aqual); }MACROE + #define SCSI_SET_SENSE(Key, Acode, Aqual) do { SenseData.SenseKey = (Key); \ + SenseData.AdditionalSenseCode = (Acode); \ + SenseData.AdditionalSenseQualifier = (Aqual); } while (0) /** Macro for the \ref SCSI_Command_ReadWrite_10() function, to indicate that data is to be read from the storage medium. */ #define DATA_READ true |