mirror of
https://github.com/opentx/opentx.git
synced 2025-07-16 12:55:12 +03:00
[Horus] Revert to BMP bitmaps instead of PNG. It uses far less CPU
This commit is contained in:
parent
8427e6ed04
commit
9a615adff7
29 changed files with 226 additions and 30 deletions
|
@ -176,7 +176,7 @@ int cliRead(const char ** argv)
|
|||
|
||||
int cliReadSD(const char ** argv)
|
||||
{
|
||||
int startSector;
|
||||
int startSector;
|
||||
int numberOfSectors;
|
||||
int bufferSectors;
|
||||
if (toInt(argv, 1, &startSector) == 0 || startSector < 0 ) {
|
||||
|
@ -271,9 +271,7 @@ int cliMemoryInfo(const char ** argv)
|
|||
|
||||
int cliReboot(const char ** argv)
|
||||
{
|
||||
#if !defined(SIMU)
|
||||
NVIC_SystemReset();
|
||||
#endif
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -455,7 +453,7 @@ int cliDisplay(const char ** argv)
|
|||
|
||||
int cliDebugVars(const char ** argv)
|
||||
{
|
||||
#if defined(PCBHORUS) && !defined(SIMU)
|
||||
#if defined(PCBHORUS)
|
||||
extern uint32_t ioMutexReq, ioMutexRel;
|
||||
extern uint32_t sdReadRetries;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue