PokittoLib with changes to lcd refresh etc.
Fork of Pokitto by
This is a fork by user @Spinal, and is used in Pokittris for testing. Do not import this to your own program.
Diff: POKITTO_HW/iap.cpp
- Revision:
- 2:968589ca3484
- Parent:
- 0:e8b8f36b4505
diff -r 4b1511a0a2c2 -r 968589ca3484 POKITTO_HW/iap.cpp --- 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; }