Fix a typo.

This commit is contained in:
David Betz 2015-01-24 23:39:22 -05:00
parent 7c4ed66e95
commit 58ad1d3f9e
2 changed files with 3 additions and 2 deletions

View File

@ -1,4 +1,3 @@
#include <stdint.h>
#include "ploader.h"
#ifndef TRUE
@ -81,7 +80,7 @@ int PL_HardwareFound(PL_state *state, int *pVersion)
/* receive the chip version */
for (version = i = 0; i < 8; ++i) {
int bit = RBit(state, 50);
if (bit < 0) {
if (bit < 0)
return FALSE;
version = ((version >> 1) & 0x7f) | (bit << 7);
}

View File

@ -6,6 +6,8 @@ extern "C"
{
#endif
#include <stdint.h>
#define LOAD_TYPE_SHUTDOWN 0
#define LOAD_TYPE_RUN 1
#define LOAD_TYPE_EEPROM 2