mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-18 16:27:34 +01:00
[apps/external] Fixed extapps not displayed on device since #333
This commit is contained in:
2
apps/external/main_controller.cpp
vendored
2
apps/external/main_controller.cpp
vendored
@@ -131,7 +131,7 @@ void MainController::willDisplayCellForIndex(HighlightCell * cell, int index) {
|
||||
void MainController::viewWillAppear() {
|
||||
int count;
|
||||
#if defined(DEVICE) || defined(EXTERNAL_BUILTIN)
|
||||
#if defined(DEVICE_N0100) || !defined(EXTERNAL_BUILTIN)
|
||||
#if !defined(DEVICE_N0110) && !defined(EXTERNAL_BUILTIN)
|
||||
count = 2;
|
||||
#else
|
||||
if(numberOfFiles() > 0){
|
||||
|
||||
@@ -58,11 +58,10 @@ endif
|
||||
|
||||
ifeq ("$(PLATFORM)", "device")
|
||||
SFLAGS += -DPLATFORM_DEVICE
|
||||
ifeq ("$(MODEL)", "n0110")
|
||||
SFLAGS += -DDEVICE_N0110
|
||||
endif
|
||||
ifeq ("$(MODEL)", "n0100")
|
||||
SFLAGS += -DDEVICE_N0100
|
||||
else
|
||||
SFLAGS += -DDEVICE_N0110
|
||||
endif
|
||||
endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user