2012-08-20 15:38:09 -03:00
|
|
|
|
|
|
|
#ifndef __AP_HAL_AVR_CONSOLE_H__
|
|
|
|
#define __AP_HAL_AVR_CONSOLE_H__
|
|
|
|
|
|
|
|
#include <AP_HAL.h>
|
2012-08-21 18:11:24 -03:00
|
|
|
#include "AP_HAL_AVR_Namespace.h"
|
2012-08-20 15:38:09 -03:00
|
|
|
#include "UARTDriver.h"
|
|
|
|
|
2012-08-21 18:11:24 -03:00
|
|
|
class AP_HAL_AVR::AVRUARTConsole : public AP_HAL::Console {
|
2012-08-20 15:38:09 -03:00
|
|
|
public:
|
|
|
|
AVRUARTConsole( AVRUARTDriver* driver ) : _driver(driver), _init(0) {}
|
|
|
|
void init(int machtnicht) { _init = 1; }
|
|
|
|
private:
|
|
|
|
const AVRUARTDriver* _driver;
|
|
|
|
int _init;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif // __AP_HAL_AVR_CONSOLE_H__
|
|
|
|
|