Skip to content

Commit e6bbdc4

Browse files
committed
fix color selection on non-walkman ones
1 parent 2e18dcb commit e6bbdc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/w1/w1.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ namespace W1 {
4444
return;
4545
}
4646

47-
snprintf(command, 23, "nvpflag -x clv 0x%.8x", color);
47+
snprintf(command, 30, "nvpflag -x clv 0x%.8x", color);
4848
DLOG("command %s\n", command);
4949
auto code = system(command);
5050
if (code != 0) {

0 commit comments

Comments
 (0)