Skip to content

Commit

Permalink
refactor: all the obd2 functions got moved to their own file
Browse files Browse the repository at this point in the history
  • Loading branch information
AdonaiDiazEsparza committed Oct 24, 2024
1 parent 92e56a2 commit 048efe0
Show file tree
Hide file tree
Showing 10 changed files with 1,163 additions and 1,165 deletions.
16 changes: 11 additions & 5 deletions Canbus_app/app_user.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@

#define DEVICE_NO_CONNECTED (0xFF)

#define MESSAGE_ERROR 0xF0

typedef enum {
WorkerflagStop = (1 << 0),
WorkerflagReceived = (1 << 1),
Expand Down Expand Up @@ -79,6 +81,8 @@ typedef struct {
uint8_t flags;

uint64_t size_of_storage;

uint8_t request_data;
} App;

// This is for the menu Options
Expand Down Expand Up @@ -159,8 +163,10 @@ typedef enum {
FileBrowserView,
} scenesViews;

char* sequential_file_resolve_path(
Storage* storage,
const char* dir,
const char* prefix,
const char* extension);
/**
* These functions works in other scenes and widget
*/

void draw_in_development(App* app);
void draw_device_no_connected(App* app);
void draw_send_wrong(App* app);
Binary file modified Canbus_app/dist/canbus_app.fap
Binary file not shown.
Binary file modified Canbus_app/dist/debug/canbus_app_d.elf
Binary file not shown.
Loading

0 comments on commit 048efe0

Please sign in to comment.