};
/* The header size on the wire is known to be always 24 bytes, regardless of
- * the memory configuration enforced by different architechtures or compilers
+ * the memory configuration enforced by different architectures or compilers
* for struct am7xxx_header
*/
#define AM7XXX_HEADER_WIRE_SIZE 24
(void)ctx;
(void)h;
}
+
static void trace_dump_buffer(am7xxx_context *ctx, const char *message,
uint8_t *buffer, unsigned int len)
{
if (width_ratio > height_ratio) {
/*
* The input is proportionally "wider" than the device viewport
- * so it's height needs to be adjusted
+ * so its height needs to be adjusted
*/
debug(dev->ctx, "CASE 1, original image wider, adjust the scaled height\n");
*scaled_width = device_info.native_width;