Add more Doxygen comments. Remove unnecessary includes. Pass files through
indent (unfortunately this makes num_map[] a little less readable).
This commit is contained in:
+920
-800
File diff suppressed because it is too large
Load Diff
+22
-27
@@ -1,32 +1,30 @@
|
||||
/* This is the bignumber-library used by the serialVFD driver.
|
||||
/** \file server/drivers/adv_bignum.h
|
||||
* Library to generate big numbers on displays with different numbers
|
||||
* of custom characters.
|
||||
*/
|
||||
|
||||
Copyright (C) 2006 Stefan Herdler
|
||||
|
||||
Based on drivers.c and lcd-lib.c.
|
||||
It may contain parts of other drivers of this package too.
|
||||
|
||||
2006-01-26 Version 0.1: everything should work (not all hardware tested!)
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
|
||||
/*-
|
||||
* Copyright (C) 2006 Stefan Herdler,
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
|
||||
*/
|
||||
|
||||
#ifndef ADV_BIGNUM_H
|
||||
#define ADV_BIGNUM_H
|
||||
|
||||
#include "lcd.h"
|
||||
|
||||
/* Bit patterns for creating custom characters */
|
||||
#define b_______ 0x00
|
||||
#define b______X 0x01
|
||||
#define b_____X_ 0x02
|
||||
@@ -62,9 +60,6 @@
|
||||
#define b_XXX___ 0x38
|
||||
#define b_XXXXXX 0x3F
|
||||
|
||||
|
||||
void lib_adv_bignum(Driver *drvthis, int x, int num, int offset, int do_init);
|
||||
|
||||
|
||||
void lib_adv_bignum(Driver * drvthis, int x, int num, int offset, int do_init);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user