From 71142f35a0cda7e3d9e85aae45999487f3660416 Mon Sep 17 00:00:00 2001 From: "Michael D. M. Dryden" <mdryden@chem.utoronto.ca> Date: Tue, 2 Feb 2016 18:09:33 -0500 Subject: [PATCH] Cleanup --- DSTAT/src/main.c | 2 +- DSTAT/src/max5443.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/DSTAT/src/main.c b/DSTAT/src/main.c index c7e5c68..d95289e 100644 --- a/DSTAT/src/main.c +++ b/DSTAT/src/main.c @@ -100,7 +100,7 @@ int main(void){ settings_read_eeprom(); -// Wait for application connection - Get 'c', reply 'K', get 'k' + // Wait for application connection - Get 'c', reply 'K', get 'k' while(1){ while(getchar() != 'c'); putchar('#'); diff --git a/DSTAT/src/max5443.c b/DSTAT/src/max5443.c index b36b22a..3ff7e9c 100644 --- a/DSTAT/src/max5443.c +++ b/DSTAT/src/max5443.c @@ -20,8 +20,8 @@ struct usart_spi_device spi_device_conf_c = { }; void max5443_init_pins(void){ - arch_ioport_set_port_dir(IOPORT_PORTC, PIN4_bm|PIN5_bm|PIN7_bm, IOPORT_DIR_OUTPUT); - arch_ioport_set_port_level(IOPORT_PORTC, PIN4_bm|PIN5_bm|PIN7_bm, PIN4_bm|PIN5_bm|PIN7_bm); + ioport_set_port_dir(IOPORT_PORTC, PIN4_bm|PIN5_bm|PIN7_bm, IOPORT_DIR_OUTPUT); + ioport_set_port_level(IOPORT_PORTC, PIN4_bm|PIN5_bm|PIN7_bm, PIN4_bm|PIN5_bm|PIN7_bm); } void max5443_init_module(void){ -- GitLab