X3 backlight
This commit is contained in:
@@ -97,7 +97,7 @@ uint8_t isBacklightEnabled()
|
|||||||
{
|
{
|
||||||
return (BACKLIGHT_TIMER->CCR4 != 0 || BACKLIGHT_TIMER->CCR2 != 0);
|
return (BACKLIGHT_TIMER->CCR4 != 0 || BACKLIGHT_TIMER->CCR2 != 0);
|
||||||
}
|
}
|
||||||
#elif defined(PCBX7) || defined(PCBXLITE)
|
#elif defined(PCBX7) || defined(PCBXLITE) || defined(PCBX3)
|
||||||
void backlightInit()
|
void backlightInit()
|
||||||
{
|
{
|
||||||
GPIO_InitTypeDef GPIO_InitStructure;
|
GPIO_InitTypeDef GPIO_InitStructure;
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
#ifndef _BOARD_H_
|
#ifndef _BOARD_H_
|
||||||
#define _BOARD_H_
|
#define _BOARD_H_
|
||||||
|
|
||||||
#include "definitions.h"
|
#include "../definitions.h"
|
||||||
#include "cpu_id.h"
|
#include "cpu_id.h"
|
||||||
|
|
||||||
#if defined(__cplusplus) && !defined(SIMU)
|
#if defined(__cplusplus) && !defined(SIMU)
|
||||||
|
|||||||
Reference in New Issue
Block a user