A few bug fixes, remove the unstested device notices, note supported boards in READMEs, and implement PMA

access stride (used on MCU's with 512 byte USB buffers).
This commit is contained in:
Nathan Conrad
2019-09-10 01:03:24 -04:00
parent 8f3c0663ad
commit bc2a65b20b
5 changed files with 123 additions and 50 deletions

View File

@@ -89,7 +89,7 @@ static inline uint32_t tu_u32(uint8_t b1, uint8_t b2, uint8_t b3, uint8_t b4)
static inline uint16_t tu_u16(uint8_t high, uint8_t low)
{
return (((uint16_t) high) << 8) + low;
return (uint16_t)((((uint16_t) high) << 8) + low);
}
static inline uint8_t tu_u16_high(uint16_t u16) { return (uint8_t) (((uint16_t) (u16 >> 8)) & 0x00ff); }