Skip to content

Commit

Permalink
Remove unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
rhargreaves committed Sep 6, 2024
1 parent 59deb13 commit 9c51087
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions src/comm_everdrive.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
#define IO_STATUS_HI_SD 0x00
#define IO_STATUS_HI_SDHC 0x40

void comm_everdrive_init(void)
{
}

bool comm_everdrive_is_present(void)
{
/* REG_STE values:
Expand All @@ -30,11 +34,6 @@ bool comm_everdrive_is_present(void)
return status == IO_STATUS_HI_SD || status == IO_STATUS_HI_SDHC;
}

u16 comm_everdrive_raw(void)
{
return SSF_REG16(REG_STE);
}

u8 comm_everdrive_read_ready(void)
{
return SSF_REG16(REG_STE) & STE_USB_RD_RDY;
Expand All @@ -55,7 +54,3 @@ void comm_everdrive_write(u8 data)
{
SSF_REG16(REG_USB) = data;
}

void comm_everdrive_init(void)
{
}

0 comments on commit 9c51087

Please sign in to comment.