PokittoLib is the library needed for programming the Pokitto DIY game console (www.pokitto.com)
Fork of PokittoLib by
Diff: POKITTO_HW/iap.cpp
- Revision:
- 2:968589ca3484
- Parent:
- 0:e8b8f36b4505
--- a/POKITTO_HW/iap.cpp Mon Sep 18 12:34:05 2017 +0000 +++ b/POKITTO_HW/iap.cpp Tue Sep 19 08:47:36 2017 +0000 @@ -30,7 +30,6 @@ int CopyPageToFlash (uint32_t address, uint8_t* data) { IAP iap_call = (IAP) IAP_LOCATION; - uint32_t writecount=0; __disable_irq(); unsigned int sector; @@ -163,8 +162,8 @@ SCB->AIRCR = 0x05FA0004; //issue system reset - while(1); //should never come here - return teahupoo; + //while(1); //should never come here + return 0; }