Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
firmware
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
card10
firmware
Merge requests
!150
fix(utime.c): set_time should operate in local tz
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
fix(utime.c): set_time should operate in local tz
fpletz/firmware:fix/set-time-local-tz
into
master
Overview
1
Commits
1
Pipelines
4
Changes
2
Merged
fpletz
requested to merge
fpletz/firmware:fix/set-time-local-tz
into
master
5 years ago
Overview
1
Commits
1
Pipelines
4
Changes
5
Expand
Needed due to changes from
8c59935e
.
cc
!146 (closed)
cc
@rahix
@schneider
Edited
5 years ago
by
fpletz
0
0
Merge request reports
Compare
version 3
version 3
181284ad
5 years ago
version 2
439a7856
5 years ago
version 1
54177a70
5 years ago
master (base)
and
latest version
latest version
4c74f061
1 commit,
5 years ago
version 3
181284ad
1 commit,
5 years ago
version 2
439a7856
1 commit,
5 years ago
version 1
54177a70
1 commit,
5 years ago
Show latest version
5 files
+
285
−
41
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
5
Search (e.g. *.vue) (Ctrl+P)
epicardium/modules/modules.h
+
24
−
3
Options
@@ -32,11 +32,32 @@ void vLedTask(void *pvParameters);
int
personal_state_enabled
();
/* ---------- PMIC --------------------------------------------------------- */
/* In 1/10s */
#define PMIC_PRESS_SLEEP 20
#define PMIC_PRESS_POWEROFF 40
void
vPmicTask
(
void
*
pvParameters
);
/* Critical battery voltage */
#define BATTERY_CRITICAL 3.40f
enum
pmic_amux_signal
{
PMIC_AMUX_CHGIN_U
=
0x1
,
PMIC_AMUX_CHGIN_I
=
0x2
,
PMIC_AMUX_BATT_U
=
0x3
,
PMIC_AMUX_BATT_CHG_I
=
0x4
,
PMIC_AMUX_BATT_DIS_I
=
0x5
,
PMIC_AMUX_BATT_NULL_I
=
0x6
,
PMIC_AMUX_THM_U
=
0x7
,
PMIC_AMUX_TBIAS_U
=
0x8
,
PMIC_AMUX_AGND_U
=
0x9
,
PMIC_AMUX_SYS_U
=
0xA
,
_PMIC_AMUX_MAX
,
};
/*
* Read a value from the PMIC's AMUX. The result is already converted into its
* proper unit. See the MAX77650 datasheet for details.
*/
int
pmic_read_amux
(
enum
pmic_amux_signal
sig
,
float
*
result
);
/* ---------- BLE ---------------------------------------------------------- */
void
vBleTask
(
void
*
pvParameters
);
bool
ble_shall_start
(
void
);
Loading