Skip to content
Snippets Groups Projects
Commit 71142f35 authored by Michael DM Dryden's avatar Michael DM Dryden
Browse files

Cleanup

parent f7b1841e
Branches
Tags
1 merge request!1Develop
This commit is part of merge request !1. Comments created here will be created in the context of that merge request.
......@@ -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('#');
......
......@@ -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){
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment