Skip to content

Commit

Permalink
code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Wer-Wolf committed Oct 20, 2019
1 parent c9664c2 commit 0c7818f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/morse.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
#define DIT 1
#define DAH 3

//#define convert_to_morse(data) (((uint8_t) ((0xFC1F >> data) & 0x1F)) | (1 << 5))
#define convert_to_morse(data) (((uint8_t) (((0xFE0F << data) & 0x3E00) >> 9)) | (1 << 5))

uint8_t eeprom_get_morse_code() {
Expand Down

0 comments on commit 0c7818f

Please sign in to comment.