Skip to content
Snippets Groups Projects
Commit 84031d73 authored by Alberto Nidasio's avatar Alberto Nidasio Committed by Alberto Nidasio
Browse files

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
......@@ -164,7 +164,7 @@ private:
struct lfs_config config;
lfs_t lfs;
lfs_file_t file;
// lfs_file_t file;
lfs_driver_context context;
};
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment