Skip to content

Commit

Permalink
firmware: Fix unused variable warning when using debug_printf
Browse files Browse the repository at this point in the history
  • Loading branch information
theacodes committed Sep 20, 2021
1 parent ae20f2f commit c287c3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion firmware/src/gem_sysex_commands.c
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ static void cmd_0x05_set_dac_(const uint8_t* data, size_t len) {
uint16_t c = WNTR_UNPACK_16(request, 4);
uint16_t d = WNTR_UNPACK_16(request, 6);

enum GemI2CResult res = gem_mcp_4728_write_channels(
__attribute__((unused)) enum GemI2CResult res = gem_mcp_4728_write_channels(
(struct GemMCP4278Channel){
.value = a,
},
Expand Down

0 comments on commit c287c3b

Please sign in to comment.