From efac211a139810e534d0bea1c09b15676346dbfc Mon Sep 17 00:00:00 2001 From: M4x1m3 Date: Tue, 5 May 2020 11:42:48 +0200 Subject: [PATCH] [apps/external] Fixed extapps not displayed on device since #333 --- apps/external/main_controller.cpp | 2 +- build/defaults.mak | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/apps/external/main_controller.cpp b/apps/external/main_controller.cpp index 623fbcda4..acf837441 100644 --- a/apps/external/main_controller.cpp +++ b/apps/external/main_controller.cpp @@ -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){ diff --git a/build/defaults.mak b/build/defaults.mak index 9f8c010da..e214ee555 100644 --- a/build/defaults.mak +++ b/build/defaults.mak @@ -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