Skip to content

Commit

Permalink
A lil refactoring 🙃
Browse files Browse the repository at this point in the history
  • Loading branch information
k105la committed Sep 4, 2020
1 parent d1de261 commit 11f4eb9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions board/main.c
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#include "driver/mpx5100.h"
#include "driver/usart.h"
#include "driver/adc.h"

static FILE mystdout = FDEV_SETUP_STREAM(print, NULL, _FDEV_SETUP_RW);

int main(void) {
adcInit();
usartInit(MYUBRR);
usartInit(MYUBRR);
stdout = &mystdout;
while(1) {
adcRead();
Expand Down
2 changes: 0 additions & 2 deletions board/mpx5100/mpx5100.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#include "../driver/mpx5100.h"
#include "../driver/adc.h"


/** @defgroup group2 MPX5100 Library
* This library interfaces with the MPX5100.
Expand Down

0 comments on commit 11f4eb9

Please sign in to comment.