CooCox on ARM

New option THR_TRACE to save flash and RAM on Stock board
DMA used for SD-Card
CMD16 command added for block length = 512 bytes
This commit is contained in:
bsongis
2012-06-19 22:49:48 +00:00
parent 0d1496dbcd
commit 777f48121b
18 changed files with 304 additions and 171 deletions
+8 -8
View File
@@ -39,7 +39,14 @@ void putEvent(uint8_t evt)
s_evt = evt;
}
#if defined(PCBV4)
#if defined(PCBSTD)
uint8_t getEvent()
{
uint8_t evt = s_evt;
s_evt = 0;
return evt;
}
#else
uint8_t getEvent(bool trim)
{
uint8_t evt = s_evt;
@@ -54,13 +61,6 @@ uint8_t getEvent(bool trim)
return 0;
}
}
#else
uint8_t getEvent()
{
uint8_t evt = s_evt;
s_evt = 0;
return evt;
}
#endif
#if defined(PCBARM)