| Index: target/dartuinoP0/include/target/display/LS027B7DH01.h
 | 
| diff --git a/target/dartuinoP0/include/target/display/LS027B7DH01.h b/target/dartuinoP0/include/target/display/LS027B7DH01.h
 | 
| index e34889f11afeb3b562ab448a02f4b24d7269ac0e..b8433a44bc41e73efe6085a26a1df41760739cf4 100644
 | 
| --- a/target/dartuinoP0/include/target/display/LS027B7DH01.h
 | 
| +++ b/target/dartuinoP0/include/target/display/LS027B7DH01.h
 | 
| @@ -30,10 +30,11 @@
 | 
|  #define MLCD_WIDTH  ((uint16_t)400)
 | 
|  #define MLCD_HEIGHT ((uint16_t)240)
 | 
|  
 | 
| +// Ensure width corresponds to an integral number of bytes
 | 
| +STATIC_ASSERT((MLCD_WIDTH & 0x3) == 0);
 | 
| +
 | 
|  // 1 bit per pixel divided by 8 bits per byte
 | 
|  #define MLCD_BYTES_LINE  (MLCD_WIDTH / 8)
 | 
| +#define MLCD_FORMAT      (DISPLAY_FORMAT_MONO_1)
 | 
|  
 | 
| -#define FB_FORMAT               (DISPLAY_FORMAT_MONO_8)
 | 
| -#define FB_STRIDE               (MLCD_WIDTH)
 | 
| -
 | 
| -uint8_t lcd_get_line(uint8_t *framebuffer, uint8_t idx, uint8_t *result);
 | 
| +uint8_t lcd_get_line(struct display_image *image, uint8_t idx, uint8_t *result);
 | 
| 
 |