Lower timeout periods in the AVRISP project. Increment firmware minor revision number...
[pub/USBasp.git] / Projects / AVRISP / Lib / TPITarget.h
index e11e075..596bdce 100644 (file)
                #define BITBANG_TPICLOCK_PIN     PINB\r
                #define BITBANG_TPICLOCK_MASK    (1 << 1)\r
                \r
+               /** Total number of bits in a single USART frame */\r
                #define BITS_IN_TPI_FRAME        12\r
                \r
-               #define TPI_NVM_TIMEOUT_MS       200\r
+               /** Timeout in milliseconds of a PDI busy-wait command */\r
+               #define TPI_NVM_TIMEOUT_MS       100\r
 \r
                #define TPI_CMD_SLD              0x20\r
                #define TPI_CMD_SST              0x60\r