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:
+917
-797
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
|
/*-
|
||||||
|
* Copyright (C) 2006 Stefan Herdler,
|
||||||
Based on drivers.c and lcd-lib.c.
|
*
|
||||||
It may contain parts of other drivers of this package too.
|
* 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
|
||||||
2006-01-26 Version 0.1: everything should work (not all hardware tested!)
|
* the Free Software Foundation; either version 2 of the License, or
|
||||||
|
* any later version.
|
||||||
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
|
* This program is distributed in the hope that it will be useful,
|
||||||
the Free Software Foundation; either version 2 of the License, or
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
any later version.
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
This program is distributed in the hope that it will be useful,
|
*
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* You should have received a copy of the GNU General Public License
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* along with this program; if not, write to the Free Software
|
||||||
GNU General Public License for more details.
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
|
||||||
|
|
||||||
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
|
#ifndef ADV_BIGNUM_H
|
||||||
#define ADV_BIGNUM_H
|
#define ADV_BIGNUM_H
|
||||||
|
|
||||||
#include "lcd.h"
|
/* Bit patterns for creating custom characters */
|
||||||
|
|
||||||
#define b_______ 0x00
|
#define b_______ 0x00
|
||||||
#define b______X 0x01
|
#define b______X 0x01
|
||||||
#define b_____X_ 0x02
|
#define b_____X_ 0x02
|
||||||
@@ -62,9 +60,6 @@
|
|||||||
#define b_XXX___ 0x38
|
#define b_XXX___ 0x38
|
||||||
#define b_XXXXXX 0x3F
|
#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
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user