FPGA_CI_TEST_SHIELD: C++11 fix

pull/10427/head
Kevin Bracey 2019-05-24 16:25:53 +03:00
parent 5f8b966ff6
commit 7ec1663dd7
1 changed files with 3 additions and 3 deletions

View File

@ -185,9 +185,9 @@ public:
uint8_t cmd[] = { uint8_t cmd[] = {
0x0B, // Fast read 0x0B, // Fast read
(addr >> (2 * 8)) & 0xFF, // Address (uint8_t)(addr >> (2 * 8)), // Address
(addr >> (1 * 8)) & 0xFF, (uint8_t)(addr >> (1 * 8)),
(addr >> (0 * 8)) & 0xFF, (uint8_t)(addr >> (0 * 8)),
0x00 // Dummy 0x00 // Dummy
}; };
_write((char *)cmd, sizeof(cmd), NULL, 0); _write((char *)cmd, sizeof(cmd), NULL, 0);