diff options
| author | Damien George | 2014-06-15 00:41:47 +0100 |
|---|---|---|
| committer | Damien George | 2014-06-15 00:41:47 +0100 |
| commit | 34ab8dd6dde058aeeff721eb066dad36858d8f4b (patch) | |
| tree | 7d4393568b5fdaedbb732d4ce39471ec28759d92 /stmhal/main.c | |
| parent | 0294661da5b68cd428362fb81513d11471e6a24a (diff) | |
stmhal: Update and improve LCD driver.
Still some method names to iron out, and funtionality to add, but this
will do for the first, basic version.
Diffstat (limited to 'stmhal/main.c')
| -rw-r--r-- | stmhal/main.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/stmhal/main.c b/stmhal/main.c index dbf3ced68..9751dcac2 100644 --- a/stmhal/main.c +++ b/stmhal/main.c @@ -58,7 +58,6 @@ #include "storage.h" #include "sdcard.h" #include "ff.h" -#include "lcd.h" #include "rng.h" #include "accel.h" #include "servo.h" @@ -95,10 +94,6 @@ void __fatal_error(const char *msg) { led_state(4, 1); stdout_tx_strn("\nFATAL ERROR:\n", 14); stdout_tx_strn(msg, strlen(msg)); -#if 0 && MICROPY_HW_HAS_LCD - lcd_print_strn("\nFATAL ERROR:\n", 14); - lcd_print_strn(msg, strlen(msg)); -#endif for (uint i = 0;;) { led_toggle(((i++) & 3) + 1); for (volatile uint delay = 0; delay < 10000000; delay++) { @@ -333,11 +328,6 @@ soft_reset: pin_init(); extint_init(); -#if MICROPY_HW_HAS_LCD - // LCD init (just creates class, init hardware by calling LCD()) - lcd_init(); -#endif - // local filesystem init { // try to mount the flash |
