nrf5/drivers: Block nrf51 from compiling epaper_sld00200p for the moment. There is no soft-pwm present yet, and including pwm would just make compilation fail now.

This commit is contained in:
Glenn Ruben Bakke 2017-01-08 16:23:00 +01:00
parent db9eef64a5
commit c389872408
1 changed files with 4 additions and 0 deletions

View File

@ -27,6 +27,8 @@
#ifndef EPAPER_SLD00200P_DRIVER_H__
#define EPAPER_SLD00200P_DRIVER_H__
#if NRF52 // TODO: For now only supported by NRF52 targets, as PWM soft-pwm is not present for nrf51 yet.
#include "py/mphal.h"
#include "hal_spi.h"
@ -58,4 +60,6 @@ void driver_sld00200p_clear(uint16_t color);
void driver_sld00200p_update_line(uint16_t line, fb_byte_t * p_bytes, fb_byte_t * p_old, uint16_t len, bool compressed);
#endif // NRF52
#endif // EPAPER_SLD00200P_DRIVER_H__