We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e5f311c commit dfe2915Copy full SHA for dfe2915
.vscode/sftp.json
@@ -0,0 +1,9 @@
1
+{
2
+ "name": "My Server",
3
+ "host": "192.168.1.38",
4
+ "protocol": "sftp",
5
+ "port": 22,
6
+ "username": "pi",
7
+ "remotePath": "~/display/",
8
+ "uploadOnSave": true
9
+}
lib/multiplex-mappers.cc
@@ -446,7 +446,7 @@ namespace rgb_matrix
446
x = x + (x / tile_width) * tile_width + 8 + evenOffset[x % 8];
447
}
448
449
- *matrix_x = ((*matrix_x / 8) + 1) * 8 - (*matrix_x % 8) - 1;
+ *matrix_x = ((x / tile_width) + 1) * tile_width - (x % tile_width) - 1;
450
*matrix_y = (y % tile_height) + tile_height * (y / (tile_height * 2));
451
452
};
0 commit comments