Skip to content

Commit

Permalink
Fix compiling
Browse files Browse the repository at this point in the history
  • Loading branch information
thierer authored and markusC64 committed Oct 7, 2023
1 parent 928fd85 commit e30bf69
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/doscmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ struct fastloader_rxtx_s {
fastloader_tx_t txfunc;
};

#ifdef CONFIG_HAVE_IEC
static const PROGMEM struct fastloader_rxtx_s fl_rxtx_table[] = {
#ifdef CONFIG_LOADER_GEOS
[RXTX_GEOS_1MHZ] = { geos_get_byte_1mhz, geos_send_byte_1mhz },
Expand Down Expand Up @@ -127,6 +128,7 @@ static const PROGMEM struct fastloader_rxtx_s fl_rxtx_table[] = {
[RXTX_BITFIRE_ICLK] = { bitfire_get_byte_data_clk_inv, NULL },
#endif
};
#endif

struct fastloader_crc_s {
uint16_t crc;
Expand Down
4 changes: 4 additions & 0 deletions src/fastloader.h
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,8 @@ extern uint8_t (*fast_get_byte)(void);
uint8_t check_keys(void);
bool bus_sleep(uint8_t);

#ifdef CONFIG_HAVE_IEC

/* per-loader functions, located in separate fl-*.c files */
bool load_turbodisk(uint8_t);
bool load_fc3(uint8_t freezed);
Expand Down Expand Up @@ -177,4 +179,6 @@ static inline void parallel_clear_rxflag(void) {}
# endif

#endif // not assembler
#endif // CONFIG_HAVE_IEC

#endif

0 comments on commit e30bf69

Please sign in to comment.