Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Miosix Kernel
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Avionics
Software Development
Miosix Kernel
Commits
84031d73
Commit
84031d73
authored
1 year ago
by
Alberto Nidasio
Committed by
Alberto Nidasio
5 months ago
Browse files
Options
Downloads
Patches
Plain Diff
Commented out unused variables and functions in lfs_miosix.h and lcd44780.cpp
parent
1db764cd
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
miosix/filesystem/littlefs/lfs_miosix.h
+1
-1
1 addition, 1 deletion
miosix/filesystem/littlefs/lfs_miosix.h
miosix/util/lcd44780.cpp
+5
-5
5 additions, 5 deletions
miosix/util/lcd44780.cpp
with
6 additions
and
6 deletions
miosix/filesystem/littlefs/lfs_miosix.h
+
1
−
1
View file @
84031d73
...
...
@@ -164,7 +164,7 @@ private:
struct
lfs_config
config
;
lfs_t
lfs
;
lfs_file_t
file
;
//
lfs_file_t file;
lfs_driver_context
context
;
};
...
...
This diff is collapsed.
Click to expand it.
miosix/util/lcd44780.cpp
+
5
−
5
View file @
84031d73
...
...
@@ -11,7 +11,7 @@ namespace {
/// enables increment mode.
constexpr
unsigned
char
cmdClear
=
0x01
;
/// Sets cursor address to 0 and resets scrolling
constexpr
unsigned
char
cmdHome
=
0x02
;
//
constexpr unsigned char cmdHome=0x02;
/// Configures display update behaviour at every data byte sent.
/// \param dir 0: decrement data RAM address at every byte sent
/// 1: increment data RAM address at every byte sent
...
...
@@ -32,10 +32,10 @@ constexpr unsigned char cmdEnable(unsigned char disp, unsigned char cur)
/// Move the cursor or scroll the display by 1 character forwards or backwards
/// \param shift 0: moves the cursor, 1: scrolls the display
/// \param rl 0: left (increment), 1: right (decrement)
constexpr
unsigned
char
cmdShift
(
unsigned
char
shift
,
unsigned
char
dir
)
{
return
0x10
|
(
shift
<<
3
)
|
(
dir
<<
2
);
}
//
constexpr unsigned char cmdShift(unsigned char shift, unsigned char dir)
//
{
//
return 0x10 | (shift<<3) | (dir<<2);
//
}
/// Configures the controller for the display
/// \param dl Data length
/// 0: 4 bit, 1: 8 bit
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment