Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
polpo committed Dec 9, 2024
1 parent a3df9cd commit ad96998
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 13 deletions.
9 changes: 4 additions & 5 deletions common/picogus.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,10 @@ static const char *modenames[9] = {
#define MODE_MOUSERATE 0x42 // Mouse report rate
#define MODE_MOUSESEN 0x43 // Mouse sensitivity
#define MODE_NE2KPORT 0x50 // NE2000 Base port
#define MODE_WIFISSID 0x51 // NE2000 SSID
#define MODE_WIFIPASS 0x52 // NE2000 password
#define MODE_WIFIAPPLY 0x53 // NE2000 password
#define MODE_WIFISTAT 0x54 // NE2000 wifi status
#define MODE_WIFISCAN 0x55 // NE2000 wifi scan
#define MODE_WIFISSID 0x51 // WiFi SSID
#define MODE_WIFIPASS 0x52 // WiFi password
#define MODE_WIFIAPPLY 0x53 // apply WiFi settings
#define MODE_WIFISTAT 0x54 // WiFi status

#define MODE_DEFAULTS 0xE0 // Select reset to defaults register
#define MODE_SAVE 0xE1 // Select save settings register
Expand Down
2 changes: 1 addition & 1 deletion pgusinit/pgusinit.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#include "../common/picogus.h"

static void banner(void) {
printf("PicoGUSinit v3.2.0 (c) 2024 Ian Scott - licensed under the GNU GPL v2\n");
printf("PicoGUSinit v3.3.0 (c) 2024 Ian Scott - licensed under the GNU GPL v2\n");
}


Expand Down
7 changes: 0 additions & 7 deletions sw/picogus.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,6 @@ __force_inline void select_picogus(uint8_t value) {
break;
case MODE_WIFIAPPLY:
case MODE_WIFISTAT:
case MODE_WIFISCAN:
break;
case MODE_SAVE: // Select save settings register
case MODE_REBOOT: // Select reboot register
Expand Down Expand Up @@ -348,8 +347,6 @@ __force_inline void write_picogus_high(uint8_t value) {
multicore_fifo_push_blocking(FIFO_WIFI_STATUS);
#endif
break;
case MODE_WIFISCAN:
break;
// For multifw
case MODE_BOOTMODE:
settings.startupMode = value;
Expand Down Expand Up @@ -464,10 +461,6 @@ __force_inline uint8_t read_picogus_high(void) {
return 0;
#endif
break;
/*
case MODE_WIFISCAN:
return PG_Wifi_ReadScanStr();
*/
case MODE_HWTYPE: // Hardware version
return BOARD_TYPE;
case MODE_FLASH:
Expand Down

0 comments on commit ad96998

Please sign in to comment.