X3 backlight

This commit is contained in:
Bertrand Songis
2019-02-25 08:23:34 +01:00
parent 28b22eb131
commit c6f07eca42
2 changed files with 2 additions and 2 deletions
@@ -97,7 +97,7 @@ uint8_t isBacklightEnabled()
{
return (BACKLIGHT_TIMER->CCR4 != 0 || BACKLIGHT_TIMER->CCR2 != 0);
}
#elif defined(PCBX7) || defined(PCBXLITE)
#elif defined(PCBX7) || defined(PCBXLITE) || defined(PCBX3)
void backlightInit()
{
GPIO_InitTypeDef GPIO_InitStructure;
+1 -1
View File
@@ -21,7 +21,7 @@
#ifndef _BOARD_H_
#define _BOARD_H_
#include "definitions.h"
#include "../definitions.h"
#include "cpu_id.h"
#if defined(__cplusplus) && !defined(SIMU)