Skip to content

Commit

Permalink
Update blackjack_conuter.c
Browse files Browse the repository at this point in the history
  • Loading branch information
grugnoymeme authored Dec 7, 2023
1 parent 1a02fe3 commit 223928e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions blackjack_conuter.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
int count = 0; // Corretto il nome della variabile

static void vibration_hot_count() {
notificationString = "Hot Count Threshold!";
notification_message = "Hot Count Threshold!";

Check failure on line 15 in blackjack_conuter.c

View workflow job for this annotation

GitHub Actions / fap ufbt build for Official Dev channel

lvalue required as left operand of assignment

Check failure on line 15 in blackjack_conuter.c

View workflow job for this annotation

GitHub Actions / fap ufbt build for Official Release channel

lvalue required as left operand of assignment

Check failure on line 15 in blackjack_conuter.c

View workflow job for this annotation

GitHub Actions / fap ufbt build for Unleashed Dev

lvalue required as left operand of assignment

Check failure on line 15 in blackjack_conuter.c

View workflow job for this annotation

GitHub Actions / fap ufbt build for Unleashed Release

lvalue required as left operand of assignment
furi_hal_vibro_on(false);
furi_hal_vibro_on(true);
furi_delay_ms(1500);
Expand All @@ -37,7 +37,7 @@ static void app_draw_callback(Canvas* canvas, void* ctx) {
char count_str[5];
snprintf(count_str, 5, "%d", count);

int text_width = canvas_text_width(canvas, count_str);
int text_width = canvas_glyph_width(canvas, count_str);

Check failure on line 40 in blackjack_conuter.c

View workflow job for this annotation

GitHub Actions / fap ufbt build for Official Dev channel

passing argument 2 of 'canvas_glyph_width' makes integer from pointer without a cast [-Werror=int-conversion]

Check failure on line 40 in blackjack_conuter.c

View workflow job for this annotation

GitHub Actions / fap ufbt build for Official Release channel

passing argument 2 of 'canvas_glyph_width' makes integer from pointer without a cast [-Werror=int-conversion]

Check failure on line 40 in blackjack_conuter.c

View workflow job for this annotation

GitHub Actions / fap ufbt build for Unleashed Dev

passing argument 2 of 'canvas_glyph_width' makes integer from pointer without a cast [-Werror=int-conversion]

Check failure on line 40 in blackjack_conuter.c

View workflow job for this annotation

GitHub Actions / fap ufbt build for Unleashed Release

passing argument 2 of 'canvas_glyph_width' makes integer from pointer without a cast [-Werror=int-conversion]
int x = (128 - text_width) / 2;
int y = 40; // Posizione y per centrare il testo in basso

Expand Down

0 comments on commit 223928e

Please sign in to comment.