Minor chnages to EEPROM library to remove ASSERT warning. Also updated the example to call Serial.begin(115200) for non maple boards

This commit is contained in:
Roger Clark 2015-01-31 09:19:20 +11:00
parent a8553ff050
commit e5f25ad6c3
2 changed files with 4 additions and 2 deletions

View File

@ -17,7 +17,9 @@ void setup()
{
// initialize the digital pin as an output:
pinMode(ledPin, OUTPUT);
Serial.begin(115200);
Serial.print(HELP_MSG);
}
void loop()
@ -162,4 +164,4 @@ void DisplayPagesEnd(uint32 endIndex)
DisplayHex(*(uint16*)(EEPROM.PageBase1 + idx + 2));
Serial.println();
}
}
}

View File

@ -1,5 +1,5 @@
//#include "libmaple.h"
//#include "util.h"
#include "libmaple/util.h"
#include "libmaple/flash.h"
#include "flash_stm32.h"