Reduce prescaler of the flush timer in the USBtoSerial demo, so that buffer overruns...
[pub/USBasp.git] / Projects / TemperatureDataLogger / TempDataLogger.h
index b6a3389..446bb61 100644 (file)
@@ -77,8 +77,8 @@
                /** Filename for the log data when written to the dataflash FAT filesystem. */
                #define LOG_FILENAME             "TEMPLOG.txt"
                
-               /** Data log interval between samples, in tens of milliseconds */
-               #define LOG_INTERVAL_10MS        1000
+               /** Default log interval when the EEPROM is blank, in 500ms ticks. */
+               #define DEFAULT_LOG_INTERVAL     20
                
        /* Type Defines: */
                typedef struct
                bool CALLBACK_HID_Device_CreateHIDReport(USB_ClassInfo_HID_Device_t* const HIDInterfaceInfo, uint8_t* const ReportID,
                                                  const uint8_t ReportType, void* ReportData, uint16_t* ReportSize);
                void CALLBACK_HID_Device_ProcessHIDReport(USB_ClassInfo_HID_Device_t* const HIDInterfaceInfo, const uint8_t ReportID, 
-                                                         const void* ReportData, const uint16_t ReportSize);
+                                                         const uint8_t ReportType, const void* ReportData, const uint16_t ReportSize);
 
 #endif