Skip to content
Snippets Groups Projects
Commit 59b8ea52 authored by Anian Bühler's avatar Anian Bühler
Browse files

minor changes

parent 4be5b3bc
No related branches found
No related tags found
2 merge requests!3Dev to master,!2Dev to Master
didacticNet.h.gch didacticNet.h.gch
.vscode
\ No newline at end of file
#include "Arduino.h" #include "Arduino.h"
#include "SoftwareSerial.h" #include "SoftwareSerial.h"
#include "didacticNet.h" #include "didacticNet.h"
......
...@@ -16,11 +16,11 @@ didacticPSNet::didacticPSNet(){} ...@@ -16,11 +16,11 @@ didacticPSNet::didacticPSNet(){}
didacticPSNet::~didacticPSNet(){} didacticPSNet::~didacticPSNet(){}
didacticPSNet::begin(Stream& _port){ void didacticPSNet::begin(Stream& _port){
setStream(_port); setStream(_port);
} }
didacticPSNet::begin(Stream& _port, PSNET_CALLBACK_SIGNATURE){ void didacticPSNet::begin(Stream& _port, PSNET_CALLBACK_SIGNATURE){
setStream(_port); setStream(_port);
setCallback(callback); setCallback(callback);
} }
......
/**************************************************************************/ /**************************************************************************
/*!
@file didacticNet.h @file didacticNet.h
@author anian buehler @ letsgoING @author anian buehler @ letsgoING
*/ **************************************************************************/
/**************************************************************************/
#ifndef _DIDACTICNET_ #ifndef _DIDACTICNET_
...@@ -71,8 +69,8 @@ class didacticPSNet ...@@ -71,8 +69,8 @@ class didacticPSNet
didacticPSNet(); didacticPSNet();
~didacticPSNet(); ~didacticPSNet();
begin(Stream& _port); void begin(Stream& _port);
begin(Stream& _port, PSNET_CALLBACK_SIGNATURE); void begin(Stream& _port, PSNET_CALLBACK_SIGNATURE);
bool handleNetwork(); bool handleNetwork();
bool isDataToSend(); bool isDataToSend();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment