Fix the Mares Puck 2 memory layout descriptor.

The Mares Puck 2 uses the same memory layout as the Nemo Wide 2. See
commit 322227df7f65da8b4a962f3513e0a10b89cbe29d for more details.
This commit is contained in:
Jef Driesen 2014-08-21 23:39:29 +02:00
parent 84d997fac6
commit 6845d9b77c

View File

@ -280,11 +280,11 @@ mares_iconhd_device_open (dc_device_t **out, dc_context_t *context, const char *
// Load the correct memory layout.
switch (device->model) {
case MATRIX:
case PUCK2:
device->layout = &mares_matrix_layout;
device->packetsize = 256;
break;
case PUCKPRO:
case PUCK2:
case NEMOWIDE2:
device->layout = &mares_nemowide2_layout;
device->packetsize = 256;