This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/usb.c b/usb.c | |
index 0f1875b..3cdb184 100644 | |
--- a/usb.c | |
+++ b/usb.c | |
@@ -1120,6 +1120,7 @@ int usb_context_scan(struct iio_scan_backend_context *ctx, | |
{ | |
struct iio_context_info **info; | |
libusb_device **device_list; | |
+ bool had_eaccess = false, found_one = false; | |
unsigned int i; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/iiod/usbd.c b/iiod/usbd.c | |
index e30ad07..96a7349 100644 | |
--- a/iiod/usbd.c | |
+++ b/iiod/usbd.c | |
@@ -38,7 +38,7 @@ | |
struct usb_ffs_header { | |
struct usb_functionfs_descs_head_v2 header; | |
- uint32_t nb_fs, nb_hs, nb_ss; | |
+ uint32_t nb_fs, nb_hs/*, nb_ss*/; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 7f63e5d249f63b048c09dd260127427ba3c19b2f Mon Sep 17 00:00:00 2001 | |
From: Paul Cercueil <paul@crapouillou.net> | |
Date: Sun, 22 Sep 2019 14:07:16 +0200 | |
Subject: [PATCH] Add support for MSVC | |
--- | |
include/lightning.h.in | 2 +- | |
lib/jit_x86-cpu.c | 18 +++++++++--------- | |
lib/jit_x86-sz.c | 4 ++-- | |
lib/jit_x86.c | 28 ++++++++++++++-------------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
opendingux:/media/sdcard/testing/glmark2_fbdev # unlockvt ; ./glmark2-es2-fbdev --off-screen | |
No graphic tty found. | |
Options::size: 800x600 | |
fbdev_display succesful | |
Kernel: Vivante GPL kernel driver 4.6.6.1381 | |
Physical address of internal memory: 00000000 | |
* Video memory: | |
Internal physical: 0x00000000 | |
Internal size: 0x00000000 | |
External physical: 00000000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gcw0:~ $ glmark2-es2-drm -s 640x480 --off-screen | |
======================================================= | |
glmark2 2017.07 | |
======================================================= | |
OpenGL Information | |
GL_VENDOR: etnaviv | |
GL_RENDERER: Vivante GC860 rev 4621 | |
GL_VERSION: OpenGL ES 2.0 Mesa 20.0.0-devel | |
======================================================= | |
[build] use-vbo=false: FPS: 130 FrameTime: 7.692 ms |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/graphics.cpp b/src/graphics.cpp | |
index 895ca88..a2e4054 100644 | |
--- a/src/graphics.cpp | |
+++ b/src/graphics.cpp | |
@@ -378,7 +378,7 @@ void CenterCamera(char override) { | |
int xStoppingDistance = 0; // How much distance it will take for the camera to come to | |
// a complete stop if it starts slowing down now. | |
- for (uint i = abs(static_cast<uint>(cameraXVel)); i > 0; i--) { | |
+ for (uint i = abs(static_cast<int>(cameraXVel)); i > 0; i--) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
from sys import argv | |
def get_char_id(charname): | |
id_names = [ | |
'Viridia', | |
'Greennill', | |
'Skyly', | |
'Bluefull', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
text data bss dec hex filename | |
410730 350 0 411080 645c8 ./net/mac80211/mac80211.o | |
367964 7649 3728 379341 5c9cd ./drivers/staging/rtl8188eu/r8188eu.o | |
230612 8356 8448 247416 3c678 ./tools/perf/tests/perf-in.o | |
169150 105 1168 170423 299b7 ./net/wireless/nl80211.o | |
157312 484 144 157940 268f4 ./tools/perf/libtraceevent-in.o | |
145336 321 1248 146905 23dd9 ./drivers/media/v4l2-core/videodev.o | |
137268 65308 0 202576 31750 ./net/wireless/trace.o | |
126810 48108 512 175430 2ad46 ./fs/ext4/super.o |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# Lesspass git-credential helper | |
import argparse | |
from subprocess import run | |
def main(): | |
parser = argparse.ArgumentParser() | |
parser.add_argument('site', action="store", type=str, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdint.h> | |
typedef uint32_t u32; | |
static u32 palette[256]; | |
void c8_to_yuv(const u32 *src, u32 *dst_y, unsigned int w, unsigned int h) | |
{ | |
unsigned int i, line, col; | |
u32 *dst_u = dst_y + 1 * (w * h) / 4; |