Skip to content

Commit

Permalink
BlueSCSI_platform_RP2040: don't assign to unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
jcs committed Aug 6, 2023
1 parent 33e6ec0 commit 04f6d44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/BlueSCSI_platform_RP2040/BlueSCSI_platform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ void platform_init()
gpio_conf(SCSI_IN_ACK, GPIO_FUNC_SIO, false, false, false, false, false);
gpio_conf(SCSI_IN_ATN, GPIO_FUNC_SIO, false, false, false, false, false);
delay(10); /// Settle time
bool optionS1 = !gpio_get(SCSI_IN_ATN);
bool optionS2 = !gpio_get(SCSI_IN_ACK);
(void)!gpio_get(SCSI_IN_ATN); // S1
(void)!gpio_get(SCSI_IN_ACK); // S2

/* Initialize logging to SWO pin (UART0) */
gpio_conf(SWO_PIN, GPIO_FUNC_UART,false,false, true, false, true);
Expand Down

0 comments on commit 04f6d44

Please sign in to comment.