Skip to content

Commit

Permalink
Update ed64x.c
Browse files Browse the repository at this point in the history
Improve variant enumeration
  • Loading branch information
networkfusion committed Aug 30, 2024
1 parent 9f4d65f commit 866387a
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/flashcart/ed64/ed64x.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@
#include "ed64x.h"

typedef enum {
ED64_X5 = 5,
ED64_X7 = 7,
// potentially handle if the firmware supports it...
// ED64_V1_0 = 10,
// ED64_V2_0 = 20,
// ED64_V2_5 = 25,
// ED64_V3_0 = 30,
// ED64_V1_0 = 110,
// ED64_V2_0 = 320,
// ED64_V2_5 = 325,
// ED64_V3_0 = 330,
ED64_X5_0 = 450,
ED64_X7_0 = 470,
ED64_UKNOWN = 0,
} ed64x_device_variant_t;

Expand All @@ -39,7 +39,7 @@ static flashcart_err_t ed64x_deinit (void) {
}

static ed64x_device_variant_t get_cart_model() {
ed64x_device_variant_t variant = ED64_X7; // FIXME: check cart model from ll for better feature handling.
ed64x_device_variant_t variant = ED64_X7_0; // FIXME: check cart model from ll for better feature handling.
return variant;
}

Expand Down

0 comments on commit 866387a

Please sign in to comment.