Setup some useful defaults for the RaspberryPi.
This commit is contained in:
parent
df1907fbea
commit
4e1dbe2bb6
@ -55,11 +55,15 @@ static int continue_terminal = 1;
|
||||
|
||||
#ifdef RASPBERRY_PI
|
||||
static int propellerResetGpioPin = 17;
|
||||
static int propellerResetGpioLevel = 1;
|
||||
static int propellerResetGpioLevel = 0;
|
||||
#endif
|
||||
|
||||
/* Normally we use DTR for reset */
|
||||
#ifdef RASPBERRY_PI
|
||||
static reset_method_t reset_method = RESET_WITH_GPIO;
|
||||
#else
|
||||
static reset_method_t reset_method = RESET_WITH_DTR;
|
||||
#endif
|
||||
|
||||
int use_reset_method(char* method)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user