mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-07-29 09:39:12 -04:00
fixed warning (#2297)
This commit is contained in:
parent
fcc52e83de
commit
023cee2c3c
3 changed files with 6 additions and 5 deletions
|
@ -124,8 +124,9 @@ standalone_application_api_t api = {
|
|||
};
|
||||
|
||||
StandaloneView::StandaloneView(NavigationView& nav, uint8_t* app_image)
|
||||
: nav_(nav), _app_image(app_image) {
|
||||
if (_app_image == nullptr) {
|
||||
: nav_(nav),
|
||||
_app_image(*app_image) {
|
||||
if (app_image == nullptr) {
|
||||
chDbgPanic("Invalid application image");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue