Minor changes

Increased tcpOutputBufferCount by 1 because zpl had trouble loading the
new web interface until he did
Increased fan rpm debounce frequency to support fan speeds up to about
20000 rpm
This commit is contained in:
David Crocker 2014-08-31 15:55:31 +01:00
parent 6ce157315f
commit 25564d03d2
3 changed files with 3 additions and 3 deletions

View file

@ -24,7 +24,7 @@ Licence: GPL
#define CONFIGURATION_H #define CONFIGURATION_H
#define NAME "RepRapFirmware" #define NAME "RepRapFirmware"
#define VERSION "0.78q-dc42" #define VERSION "0.78r-alpha-dc42"
#define DATE "2014-08-31" #define DATE "2014-08-31"
#define AUTHORS "reprappro, dc42, zpl" #define AUTHORS "reprappro, dc42, zpl"

View file

@ -27,7 +27,7 @@ Separated out from Platform.h by dc42
// Currently we set the MSS (in file network/lwipopts.h) to 1432 which matches the value used by most versions of Windows // Currently we set the MSS (in file network/lwipopts.h) to 1432 which matches the value used by most versions of Windows
// and therefore avoids additional memory use and fragmentation. // and therefore avoids additional memory use and fragmentation.
const unsigned int tcpOutputBufferCount = MEMP_NUM_TCP_PCB - 1; // number of send buffers const unsigned int tcpOutputBufferCount = MEMP_NUM_TCP_PCB; // number of send buffers
const unsigned int tcpOutputBufferSize = 2 * 1432; // size of each send buffer const unsigned int tcpOutputBufferSize = 2 * 1432; // size of each send buffer
#define IP_ADDRESS {192, 168, 1, 10} // Need some sort of default... #define IP_ADDRESS {192, 168, 1, 10} // Need some sort of default...

View file

@ -288,7 +288,7 @@ void Platform::Init()
if (coolingFanRpmPin >= 0) if (coolingFanRpmPin >= 0)
{ {
pinModeNonDue(coolingFanRpmPin, INPUT_PULLUP, 500); // enable pullup and 500Hz debounce filter pinModeNonDue(coolingFanRpmPin, INPUT_PULLUP, 1500); // enable pullup and 1500Hz debounce filter (500Hz only worked up to 7000RPM)
} }
InitialiseInterrupts(); InitialiseInterrupts();