Subversion Repositories heating

Rev

Rev 9 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 9 Rev 12
Line 87... Line 87...
87
void temperature::trun()
87
void temperature::trun()
88
{
88
{
89
char buf[512], ch;
89
char buf[512], ch;
90
int r, pos;
90
int r, pos;
91
 
91
 
-
 
92
	debug ("temperature::trun() reached!");
-
 
93
 
92
	if (!initialized)
94
	if (!initialized)
93
		return;
95
		return;
94
 
96
 
95
	pos = 0;
97
	pos = 0;
-
 
98
	debug ("temperature::trun() is working!");
96
 
99
 
97
	while (!stop)
100
	while (!stop)
98
	{
101
	{
99
		if ((r = read(fd_serial, &ch, 1)) <= 0)
102
		if ((r = read(fd_serial, &ch, 1)) <= 0)
100
		{
103
		{