PokittoLib is the library needed for programming the Pokitto DIY game console (www.pokitto.com)
Diff: POKITTO_HW/iap.cpp
- Revision:
- 58:5f58a2846a20
- Parent:
- 52:c04087025cab
--- a/POKITTO_HW/iap.cpp Tue Oct 02 20:38:50 2018 +0000 +++ b/POKITTO_HW/iap.cpp Sun Oct 07 10:06:28 2018 +0000 @@ -30,10 +30,10 @@ int CopyPageToFlash (uint32_t address, uint8_t* data) { IAP iap_call = (IAP) IAP_LOCATION; - uint32_t writecount=0; + //uint32_t writecount=0; __disable_irq(); - unsigned int sector, page; + unsigned int sector;//, page; bool firstpage=false, erasepage=false; //DEBUG// @@ -190,7 +190,7 @@ SCB->AIRCR = 0x05FA0004; //issue system reset while(1); //should never come here - return teahupoo; + //return teahupoo; }