diff --git a/DSTAT/src/main.c b/DSTAT/src/main.c index c7e5c687ef0e8ef2f30b44c0690450eeecb38ad3..d95289e287d809dc444c9630538be90510e32cb8 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 b36b22a2eb285d8c9a6f96bdd57173c68544ba18..3ff7e9cd43cec7ba0138715bb4f2672756bc9426 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){