mirror of
https://github.com/greatscottgadgets/hackrf.git
synced 2026-03-04 22:46:00 +01:00
Use stdbool.h rather than our own bool definition.
This commit is contained in:
@@ -24,17 +24,12 @@
|
||||
|
||||
#include <hackrf.h>
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include <getopt.h>
|
||||
|
||||
#ifndef bool
|
||||
typedef int bool;
|
||||
#define true 1
|
||||
#define false 0
|
||||
#endif
|
||||
|
||||
#define REGISTER_INVALID 32767
|
||||
|
||||
int parse_int(char* s, uint32_t* const value)
|
||||
|
||||
Reference in New Issue
Block a user