mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-08-08 22:52:27 -04:00
Pacman warning fix (#2298)
* fix missing NULL initializers * fix mispelled OnKeyboad * set header version to 1
This commit is contained in:
parent
023cee2c3c
commit
a223bd1f21
3 changed files with 11 additions and 5 deletions
|
@ -27,7 +27,7 @@ const standalone_application_api_t* _api;
|
|||
|
||||
extern "C" {
|
||||
__attribute__((section(".standalone_application_information"), used)) standalone_application_information_t _standalone_application_information = {
|
||||
/*.header_version = */ CURRENT_STANDALONE_APPLICATION_API_VERSION,
|
||||
/*.header_version = */ 1,
|
||||
|
||||
/*.app_name = */ "Pac-Man",
|
||||
/*.bitmap_data = */ {
|
||||
|
@ -70,12 +70,18 @@ __attribute__((section(".standalone_application_information"), used)) standalone
|
|||
/*.initialize_app = */ initialize,
|
||||
/*.on_event = */ on_event,
|
||||
/*.shutdown = */ shutdown,
|
||||
};
|
||||
/*PaintViewMirror */ NULL,
|
||||
/*OnTouchEvent */ NULL,
|
||||
/*OnFocus */ NULL,
|
||||
/*OnKeyEvent */ NULL,
|
||||
/*OnEncoder */ NULL,
|
||||
/*OnKeyboard */ NULL};
|
||||
}
|
||||
|
||||
/* Implementing abort() eliminates requirement for _getpid(), _kill(), _exit(). */
|
||||
extern "C" void abort() {
|
||||
while (true);
|
||||
while (true)
|
||||
;
|
||||
}
|
||||
|
||||
// replace memory allocations to use heap from chibios
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue