mirror of https://github.com/ARMmbed/mbed-os.git
FPGA_CI_TEST_SHIELD: C++11 fix
parent
5f8b966ff6
commit
7ec1663dd7
|
|
@ -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);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue