mirror of
https://github.com/travisgoodspeed/goodwatch
synced 2024-11-21 23:58:31 +00:00
DMESG properly initialized. #45
This commit is contained in:
parent
0d7bfc8db4
commit
54730adf2b
@ -2,4 +2,10 @@
|
||||
\brief Kernel debug message buffer.
|
||||
*/
|
||||
|
||||
//! Clears the dmesg buffer.
|
||||
void dmesg_clear();
|
||||
|
||||
//! I ain't never initialized a buffer that didn't need initializin'.
|
||||
void dmesg_init();
|
||||
|
||||
|
||||
|
@ -7,6 +7,7 @@
|
||||
|
||||
#include <msp430.h>
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "lcd.h"
|
||||
#include "lcdtext.h"
|
||||
@ -15,6 +16,7 @@
|
||||
#include "apps.h"
|
||||
#include "sidebutton.h"
|
||||
#include "radio.h"
|
||||
#include "dmesg.h"
|
||||
|
||||
//! Initialize the XT1 crystal, and stabilize it.
|
||||
void xtal_init(){
|
||||
@ -73,11 +75,12 @@ int post(){
|
||||
|
||||
//! Main method.
|
||||
int main(void) {
|
||||
printf("main()\n");
|
||||
|
||||
WDTCTL = WDTPW + WDTHOLD; // Stop WDT
|
||||
|
||||
//Initialize the various modules.
|
||||
dmesg_init();
|
||||
printf("main()\n");
|
||||
|
||||
lcd_init();
|
||||
|
||||
lcd_zero();
|
||||
|
Loading…
Reference in New Issue
Block a user