mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-11 06:09:08 -07:00
Fix errors piled up on apps repo
This commit is contained in:
2
applications/external/blackjack/ui.c
vendored
2
applications/external/blackjack/ui.c
vendored
@@ -81,7 +81,7 @@ void draw_score(Canvas* const canvas, bool top, uint8_t amount) {
|
||||
|
||||
void draw_money(Canvas* const canvas, uint32_t score) {
|
||||
canvas_set_font(canvas, FontSecondary);
|
||||
char drawChar[10];
|
||||
char drawChar[11];
|
||||
uint32_t currAmount = score;
|
||||
if(currAmount < 1000) {
|
||||
snprintf(drawChar, sizeof(drawChar), "$%lu", currAmount);
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
#include <cli/cli_vcp.h>
|
||||
#include <furi/core/thread_i.h>
|
||||
#include "cligui_main_i.h"
|
||||
#include <loader/loader_i.h>
|
||||
#include <FreeRTOS.h>
|
||||
|
||||
volatile bool gotCallbackSet = false;
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
#include "cli_control.h"
|
||||
#include "text_input.h"
|
||||
#include "console_output.h"
|
||||
#include <loader/loader_i.h>
|
||||
#include <gui/view_dispatcher_i.h>
|
||||
|
||||
static bool cligui_custom_event_cb(void* context, uint32_t event) {
|
||||
|
||||
@@ -11,6 +11,8 @@
|
||||
#include <string.h>
|
||||
#include "etch_icons.h"
|
||||
|
||||
#include <assets_icons.h>
|
||||
|
||||
#define WIDTH 64
|
||||
#define HEIGHT 32
|
||||
|
||||
|
||||
@@ -13,14 +13,13 @@ static void mass_storage_scene_start_variable_item_list_callback(void* context,
|
||||
void mass_storage_scene_start_on_enter(void* context) {
|
||||
MassStorageApp* app = context;
|
||||
VariableItemList* variable_item_list = app->variable_item_list;
|
||||
VariableItem* item;
|
||||
|
||||
variable_item_list_add(variable_item_list, "Select Disk Image", 0, NULL, app);
|
||||
|
||||
variable_item_list_add(variable_item_list, "Create Disk Image", 0, NULL, app);
|
||||
|
||||
variable_item_list_set_enter_callback(
|
||||
variable_item_list, mass_storage_scene_create_image_variable_item_list_callback, app);
|
||||
variable_item_list, mass_storage_scene_start_variable_item_list_callback, app);
|
||||
|
||||
variable_item_list_set_header(variable_item_list, "USB Mass Storage");
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ App(
|
||||
requires=["gui", "storage"],
|
||||
stack_size=2 * 1024,
|
||||
order=215,
|
||||
fap_file_assets="files"
|
||||
fap_file_assets="files",
|
||||
fap_icon="tamaIcon4.png",
|
||||
fap_category="Games",
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user