Skip to content

Commit

Permalink
fix mutex
Browse files Browse the repository at this point in the history
  • Loading branch information
xMasterX committed Jun 5, 2024
1 parent 3149ec5 commit bc4e5f0
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion apps_source_code/counter/counter.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ typedef struct {
FuriMessageQueue* input_queue;
ViewPort* view_port;
Gui* gui;
FuriMutex** mutex;
FuriMutex* mutex;
NotificationApp* notifications;

int count;
Expand Down
2 changes: 1 addition & 1 deletion apps_source_code/flipper_passgen/passgen.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ typedef struct {
FuriMessageQueue* input_queue;
ViewPort* view_port;
Gui* gui;
FuriMutex** mutex;
FuriMutex* mutex;
NotificationApp* notify;
const char* alphabet;
char password[PASSGEN_MAX_LENGTH + 1];
Expand Down
2 changes: 1 addition & 1 deletion apps_source_code/flipperzero-slots/slotmachine.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ typedef struct {
Gui* gui; // container gui
ViewPort* view_port; // current viewport
FuriMessageQueue* input_queue; // Input Events queue
FuriMutex** model_mutex; // mutex for safe threads
FuriMutex* model_mutex; // mutex for safe threads
uint16_t bet;
double money, winamount;
SlotColumn* columns[4];
Expand Down
2 changes: 1 addition & 1 deletion apps_source_code/videopoker/poker.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ typedef struct {
} PokerPlayer_card;

typedef struct {
FuriMutex** model_mutex;
FuriMutex* model_mutex;
FuriMessageQueue* event_queue;
ViewPort* view_port;
Gui* gui;
Expand Down
2 changes: 1 addition & 1 deletion base_pack/doom/sound.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ typedef struct {
typedef struct {
MusicPlayerModel* model;
MusicPlayerWorker* worker;
FuriMutex** model_mutex;
FuriMutex* model_mutex;
} MusicPlayer;

#endif
2 changes: 1 addition & 1 deletion base_pack/game15/sandbox.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include "sandbox.h"

FuriMessageQueue* sandbox_event_queue;
FuriMutex** sandbox_mutex;
FuriMutex* sandbox_mutex;
ViewPort* sandbox_view_port;
Gui* sandbox_gui;
FuriTimer* sandbox_timer;
Expand Down
2 changes: 1 addition & 1 deletion base_pack/morse_code/morse_code.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ typedef struct {

typedef struct {
MorseCodeModel* model;
FuriMutex** model_mutex;
FuriMutex* model_mutex;

FuriMessageQueue* input_queue;

Expand Down
2 changes: 1 addition & 1 deletion base_pack/music_player/music_player.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ typedef struct {

typedef struct {
MusicPlayerModel* model;
FuriMutex** model_mutex;
FuriMutex* model_mutex;

FuriMessageQueue* input_queue;

Expand Down
2 changes: 1 addition & 1 deletion non_catalog_apps/flipperzero-qrcode/qrcode_app.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ typedef struct {
Gui* gui;
ViewPort* view_port;

FuriMutex** mutex;
FuriMutex* mutex;
FuriString* message;
QRCode* qrcode;
uint8_t min_mode;
Expand Down
2 changes: 1 addition & 1 deletion non_catalog_apps/multi_counter/counter.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ typedef struct {
ViewPort* view_port;
Gui* gui;
NotificationApp* notification;
FuriMutex** mutex;
FuriMutex* mutex;

bool togglelight;
int count;
Expand Down
2 changes: 1 addition & 1 deletion non_catalog_apps/music_beeper/music_beeper.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ typedef struct {

typedef struct {
MusicBeeperModel* model;
FuriMutex** model_mutex;
FuriMutex* model_mutex;

FuriMessageQueue* input_queue;

Expand Down

0 comments on commit bc4e5f0

Please sign in to comment.