* \brief LM044L type LCD hardware module (impl.)
*
* \version $Id$
+ *
* \author Bernardo Innocenti <bernie@develer.com>
* \author Stefano Fedrigo <aleph@develer.com>
*/
* \brief Hitachi HD44780 and clones LCD module (interface)
*
* \version $Id$
+ *
* \author Bernardo Innocenti <bernie@develer.com>
* \author Stefano Fedrigo <aleph@develer.com>
*/
#include <cfg/compiler.h>
#define PWM_MAX_DUTY ((pwm_duty_t)0xFFFF)
-#define PWM_MAX_PERIOD 0xFFFF
-#define PWM_MAX_PERIOD_LOG2 16
+#define PWM_MAX_PERIOD 0xFFFF
+#define PWM_MAX_PERIOD_LOG2 16
/**
* PWM type define.
{
pgcnt_t dst = src + offset;
memmove(&disk->page_array[dst], &disk->page_array[src], (disk->page_count - MAX(dst, src)) * sizeof(pgcnt_t));
-
+
if (offset < 0)
{
/* Fill empty space in array with sentinel */