Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
Willy-JL committed Nov 27, 2024
1 parent 044b5c2 commit 97e2239
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions flip_trader/callback/flip_trader_callback.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ static void flip_trader_request_error_draw(Canvas* canvas) {
}
}

static bool send_price_request() {
static bool send_price_request(AssetLoaderModel* model) {
UNUSED(model);
if(fhttp.state == INACTIVE) {
return false;
}
Expand Down Expand Up @@ -84,7 +85,8 @@ static bool send_price_request() {
return true;
}

static char* process_asset_price() {
static char* process_asset_price(AssetLoaderModel* model) {
UNUSED(model);
if(!request_processed) {
// load the received data from the saved file
FuriString* price_data = flipper_http_load_from_file(fhttp.file_path);
Expand Down

0 comments on commit 97e2239

Please sign in to comment.