File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed
Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ static uint8_t send_cmd (
9696/* Initialize Disk Drive */
9797/*-----------------------------------------------------------------------*/
9898
99- uint32_t CachedSector = 0xffffffff ;
99+ uint32_t CachedSector ;
100100uint8_t SectorCache [512 ];
101101
102102DSTATUS disk_initialize (void )
Original file line number Diff line number Diff line change 88#include "diskio.h"
99#include "ezflashjr.h"
1010
11- uint32_t CachedSector = 0xffffffff ;
11+ uint32_t CachedSector ;
1212
1313inline void ezjr_unlock (void ) {
1414 EZJR_REG_UNLOCK1 = EZJR_UNLOCK1 ;
Original file line number Diff line number Diff line change @@ -20,7 +20,11 @@ uint8_t *play_load;
2020
2121uint8_t load_buffer [LOAD_BUFFER_SIZE ];
2222uint8_t * load_ptr ;
23+ #if LOAD_BUFFER_SIZE > 255
2324uint16_t bytes_loaded ;
25+ #else
26+ uint8_t bytes_loaded ;
27+ #endif
2428
2529inline void read_init (void ) {
2630 load_ptr = load_buffer ; bytes_loaded = 0 ;
You can’t perform that action at this time.
0 commit comments