Skip to content

Commit

Permalink
Tidy up
Browse files Browse the repository at this point in the history
  • Loading branch information
RobSmithDev committed Feb 24, 2024
1 parent 27e32e2 commit 57a05df
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 12 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
###############################################################################
DEVICEVERSION=1
DEVICEREVISION=1
DEVICEDATE=2024-02-21
DEVICEDATE=2024-02-24

###############################################################################
# Devices to build (1 or 2, keep DEVICEID2 empty if only one build is desired)
Expand Down
8 changes: 0 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,6 @@ where:
- SSID The SSID/Wifi name to connect to if autoconnect=1
- KEY the wifi key/password

scsi-device-driver-name.device
- deviceID (0-7) or -1 for auto-detect
- 40 (device delay time when idle)
- 0 (task priority, -128 to 127 - see below)
- 1 (1/0 for auto connect to WIFI - you can configure this in the bluescsi.ini file too)
- ssid (wifi SSID)
- pwd (wifi password)

## Mode
This patches around weirdness in the various SCSI drivers. Mode should be:
- 0: This runs in normal mode
Expand Down
4 changes: 2 additions & 2 deletions scsiwifi.c
Original file line number Diff line number Diff line change
Expand Up @@ -684,11 +684,11 @@ LONG SCSIWifi_receiveFrame(SCSIWIFIDevice device, UBYTE* packetBuffer, UWORD* pa

switch (dev->scsiMode) {
case 1: // scsi.device mode
SCSI_PREPCMD(dev, SCSI_NETWORK_WIFI_READFRAME, 0, 0xF8, (*packetSize) >> 8, (*packetSize) & 0xFF, 0);
SCSI_PREPCMD(dev, SCSI_NETWORK_WIFI_CMD, SCSI_NETWORK_WIFI_OPT_ALTREAD, 0xA8, (*packetSize) >> 8, (*packetSize) & 0xFF, 0);
break;

case 2: // gvpscsi.device mode
SCSI_PREPCMD(dev, SCSI_NETWORK_WIFI_CMD, SCSI_NETWORK_WIFI_OPT_ALTREAD, 0xF9, (*packetSize) >> 8, (*packetSize) & 0xFF, 0);
SCSI_PREPCMD(dev, SCSI_NETWORK_WIFI_CMD, SCSI_NETWORK_WIFI_OPT_ALTREAD, 0xA9, (*packetSize) >> 8, (*packetSize) & 0xFF, 0);
break;

default:
Expand Down
2 changes: 1 addition & 1 deletion version.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
#define DEVICEREVISION 1
#define DEVICEEXTRA
/* #define DEVICEEXTRA Beta */
#define DEVICEDATE 2024-02-15
#define DEVICEDATE 2024-02-24

#endif

0 comments on commit 57a05df

Please sign in to comment.